Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upRest of arguments for %TypedArray% #183
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
anba
Nov 15, 2015
Contributor
Additional arguments are always accepted by built-in functions, cf. 17 ECMAScript Standard Built-in Objects, fifth paragraph:
Unless otherwise specified in the description of a particular function, if a built-in function or constructor described is given more arguments than the function is specified to allow, the extra arguments are evaluated by the call and then ignored by the function.
|
Additional arguments are always accepted by built-in functions, cf. 17 ECMAScript Standard Built-in Objects, fifth paragraph:
|
nisiyama commentedNov 15, 2015
[JP22] In “22.2.1.3 %TypedArray%(typedArray)”, parameters for “%TypedArray%” is described as “... the %TypedArray% function is called with at least one argument and ...". This description assumes that “%TypedArray%” can take more than one parameters. We need “, ...” after the “typedArray” argument (e.g. %TypedArray%(typedArray, ...)).