source: imaps-frontend/node_modules/core-js/modules/es.number.is-safe-integer.js

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: 397 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var isIntegralNumber = require('../internals/is-integral-number');
4
5var abs = Math.abs;
6
7// `Number.isSafeInteger` method
8// https://tc39.es/ecma262/#sec-number.issafeinteger
9$({ target: 'Number', stat: true }, {
10 isSafeInteger: function isSafeInteger(number) {
11 return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;
12 }
13});
Note: See TracBrowser for help on using the repository browser.