10 lines
366 B
JavaScript
10 lines
366 B
JavaScript
|
var $ = require('../internals/export');
|
||
|
var parseFloat = require('../internals/number-parse-float');
|
||
|
|
||
|
// `Number.parseFloat` method
|
||
|
// https://tc39.es/ecma262/#sec-number.parseFloat
|
||
|
// eslint-disable-next-line es/no-number-parsefloat -- required for testing
|
||
|
$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {
|
||
|
parseFloat: parseFloat
|
||
|
});
|