es.number.parse-float.js 381 B

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