« Bugzilla Issues Index

#1144 — explicit arity for Math.hypot

Per introductory paragraph for chapter 15, the arity of Math.hypot() should be 3 [1], but an explicit note for clarification would be nice.

[1] "Unless otherwise specified, this value (= arity) is equal to the largest number of named arguments shown in the subclause headings for the function description, including optional parameters"

fixed in rev 14 editor's draft

the length is actually 2 according to the new rules.

in Rev 14 draft