We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by @ljharb in #59 (comment)
The text was updated successfully, but these errors were encountered:
Specifically because it's definitely a bug, and it should fail early and loudly.
Sorry, something went wrong.
See also tc39/proposal-iterator-helpers#169 and tc39/proposal-temporal#2112, where we agreed on rejecting NaN and things which coerce to NaN (unless they have some other meaning pre-coercion, of course).
In tc39/proposal-iterator-helpers#181 we did decide on a RangeError rather than a TypeError, though.
I agree a RangeError is more appropriate.
a72436d
No branches or pull requests
Originally posted by @ljharb in #59 (comment)
The text was updated successfully, but these errors were encountered: