Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript Equality Minesweeper. Parent comment
let x:number[] = []; x.push("x");
Here, the transpiler will catch the error of trying to push a string to a number array.
Typing is your friend, and it will in almost all cases help you write cleaner and safer code.
There are no comments on this comment yet.
let x:number[] = []; x.push("x");
Here, the transpiler will catch the error of trying to push a string to a number array.
Typing is your friend, and it will in almost all cases help you write cleaner and safer code.