News for hackers. Stuff that matters.
Re:Do you really know JavaScript? by trevorhartman on Friday January 31, 2014 @06:08PM (#7159797)
Yes, but I don't know the answers to these questions because I know to avoid code like this.
Re:Do you really know JavaScript? by nfm on Friday January 31, 2014 @07:37PM (#7160261)
Sure, some of these examples are pretty academic (eg ` Array.isArray( Array.prototype )`). But can you truthfully say you never get bitten by basic JS arithmetic fails, given how many ways it's possible to accidentally coerce numbers to strings?
Re:Do you really know JavaScript? by trevorhartman on Wednesday February 05, 2014 @11:48AM (#7184796)
Years ago, perhaps. Can't remember a specific instance.