News for hackers. Stuff that matters.
Re:Evil.js: A JavaScript library for thwarting hot-linkers by derefr on Tuesday April 01, 2014 @12:47AM (#7506225)
Oddly, there's actually no language that I know of that has NaN and Infinity constants. Many languages pretty-print those float values that way, but none of the parsers can interpret them back in.
Re:Evil.js: A JavaScript library for thwarting hot-linkers by GeneralMayhem on Tuesday April 01, 2014 @01:56AM (#7506424)
...do you mean other than JavaScript? They're not actually parser-level constants, they're just defined as globals/on the window object, but they work.