New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest of arguments for %TypedArray% #183

Closed
nisiyama opened this Issue Nov 15, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@nisiyama

nisiyama commented Nov 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, ...)).

@anba

This comment has been minimized.

Show comment
Hide comment
@anba

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.

Contributor

anba commented Nov 15, 2015

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.

@bterlson bterlson closed this Jan 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment