[Bug 23532] Dealing with undefined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23532

--- Comment #25 from Glenn Maynard <glenn@zewt.org> ---
It's certainly not what a JS programmer wants.  Having "Math.ceil()" return NaN
instead of throwing an exception is useless, and does nothing but make
development more difficult.

It may well not be web-compatible to throw in many cases (and that's ultimately
what matters), but it's definitely better.  When it's this certain the
programmer has made a mistake, tell them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 23 October 2013 21:45:28 UTC