News for hackers. Stuff that matters.
Re:Micropackages and Open Source Trust Scaling by bentlegen on Thursday March 24, 2016 @04:50PM (#11356316)
> because you can't be bothered to write "x.toString() === '[object Array]'"

([1,2,3]).toString() => "1,2,3"

Re:Micropackages and Open Source Trust Scaling by orf on Thursday March 24, 2016 @05:20PM (#11356544)
My bad, '({}).toString.call([1,2,3])'.

Because type introspection is so ugly in JS, but so needed, that it's hidden behind 'require('is-array')' to make it palatable. Ridiculous.