Skip to content
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

'range' method check arguments #2265

Closed
imatveev opened this issue Jan 29, 2016 · 0 comments
Closed

'range' method check arguments #2265

imatveev opened this issue Jan 29, 2016 · 0 comments

Comments

@imatveev
Copy link

On line 5062 there is argument type checking before 'range' function call:
if (typeof value === 'number')
Issue is that checking of type is pass NaN value, that is causes an error in line 5142 of code:
var ret = new Array(NaN);

There a situation that causes an error (we appeal to nonexistent data):
http://jsfiddle.net/0jje0pfa/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant