Looks like buffer and i on line 413 are undefined.
|
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); |
|
} |
|
} |
Looks like
bufferandion line 413 are undefined.jsonparse/jsonparse.js
Lines 409 to 422 in b2d8bc6