es.number.parse-int.js 348 B

123456789
  1. var $ = require('../internals/export');
  2. var parseInt = require('../internals/number-parse-int');
  3. // `Number.parseInt` method
  4. // https://tc39.es/ecma262/#sec-number.parseint
  5. // eslint-disable-next-line es/no-number-parseint -- required for testing
  6. $({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {
  7. parseInt: parseInt
  8. });