
3 Jul
2011
3 Jul
'11
6:40 a.m.
On Sat, 2 Jul 2011 16:32:37 +0200
Daniel Fischer
On Saturday 02 July 2011, 16:09:05, Costello, Roger L. wrote:
Hi Folks,
How would you find the maximum value in this list:
[undefined, 10, undefined, 20] Not. There is no proper maximum in the presence of undefined.
Doesn't that mean the maximum value for this list is also "undefined"?
That matches my intuition, which is that undefined should be a
"contagious" value, so that any value that depends on evaluating an
undefined value is itself undefined.