es.number.parse-float.js 368 B

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