es.number.parse-int.js 363 B

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