2 ms·
Almost. This is valid javascript. [1].push("foo");
by recursive 8y ago
Almost. This is valid javascript.
[1].push("foo");
- alangpierce 8y agoTypeScript code can be transpiled and executed even if there are type errors (just like how a linter doesn't stop you from running your code), so in that sense, it's also valid TypeScript.