source: frontend/node_modules/core-js-pure/internals/native-raw-json.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 425 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-json-rawjson -- feature detection
8 var raw = JSON.rawJSON(unsafeInt);
9 // eslint-disable-next-line es/no-json-israwjson -- feature detection
10 return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
11});
Note: See TracBrowser for help on using the repository browser.