Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Tricks I wish I knew when I learned TypeScript. Parent comment
tl;dr: Object.prototype.toString.call, you most likely to also want to exclude null, RegExp, Function, Date, Number, Boolean & String (not string)
There are no comments on this comment yet.
tl;dr: Object.prototype.toString.call, you most likely to also want to exclude null, RegExp, Function, Date, Number, Boolean & String (not string)