source: imaps-frontend/node_modules/core-js/internals/native-raw-json.js@ 79a0317

main
Last change on this file since 79a0317 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 */
3var fails = require('../internals/fails');
4
5module.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.