main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
453 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | /* eslint-disable es/no-json -- safe */
|
---|
3 | var fails = require('../internals/fails');
|
---|
4 |
|
---|
5 | module.exports = !fails(function () {
|
---|
6 | var unsafeInt = '9007199254740993';
|
---|
7 | // eslint-disable-next-line es/no-nonstandard-json-properties -- feature detection
|
---|
8 | var raw = JSON.rawJSON(unsafeInt);
|
---|
9 | // eslint-disable-next-line es/no-nonstandard-json-properties -- feature detection
|
---|
10 | return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.