Visit Mozilla.org

Talk:Core JavaScript 1.5 Reference:Global Objects:Math:max

From MDC

[edit] More than two arguments ?

Mozilla supports Math.max(1, 2, 3, 4). Is this a non-standard extension ?

Maybe this should be added there as a note, because it is quite useful.

No, this behavior is defined in ECMA-262 ed.3. Feel free to edit the article. --Nickolay 04:00, 14 May 2006 (PDT)
Fixed in article --SylvainPasche 08:12, 14 May 2006 (PDT)
Thank you! --Nickolay 09:10, 14 May 2006 (PDT)