-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Looks like buffer
and i
on line 413 are undefined.
Lines 409 to 422 in b2d8bc6
proto.numberReviver = function (text) { | |
var result = Number(text); | |
if (isNaN(result)) { | |
return this.charError(buffer, i); | |
} | |
if ((text.match(/[0-9]+/) == text) && (result.toString() != text)) { | |
// Long string of digits which is an ID string and not valid and/or safe JavaScript integer Number | |
this.onToken(STRING, text); | |
} else { | |
this.onToken(NUMBER, result); | |
} | |
} |
Metadata
Metadata
Assignees
Labels
No labels