[Info-vax] [OT] The wonders of Javascript...
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Sun Mar 1 12:37:22 EST 2015
On 2015-03-01, johnwallace4 at yahoo.co.uk <johnwallace4 at yahoo.co.uk> wrote:
>
> Judging by the mild element of pained surprise, I'm guessing you may
> not yet seen Gary Bernhardt's five minute WAT talk from CodeMash 2012.
>
Yes, I've seen it (I was pointed to it recently) and I've just watched
it again. There's a number of stupid design issues in there which are
consistant with what I have come across, but even so, number + undefined
variable = NaN (instead of syntax error) is a new low. :-)
This is in the Firefox Javascript interpreter, so I don't know if this
behaviour is specific to that interpreter.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list