10 lines
381 B
JavaScript
10 lines
381 B
JavaScript
'use strict';
|
|
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
|
|
});
|