Skip to content

'range' method check arguments #2265

@imatveev

Description

@imatveev

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions