News for hackers. Stuff that matters.
Re:State of the Art JavaScript in 2016 by fleshweasel on Friday March 11, 2016 @06:43PM (#11270426)
Thanks for elaborating on the distinction. User defined type guards can get you some of the way there to distinguishing "int | int", but you don't get it for free-- the reality of being a superset of JavaScript. https://gist.github.com/RikkiGibson/74fa3dbfdb1b2d7ab86d
Re:State of the Art JavaScript in 2016 by lomnakkus on Friday March 11, 2016 @06:49PM (#11270461)
Oh, wow, that's pretty evil code! :)