Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Node.js adds experimental support for TypeScript. Parent comment
https://flow.org/try/
Compare these two programs.
const arr = ["abcd"]; const str = arr[1]; const num = str.length; // this throws at runtime const arr = [new Date]; const dt = arr[1]; const num = dt.length; // fails to type check
There are no comments on this comment yet.
https://flow.org/try/
Compare these two programs.