UNPKG

number.parsefloat

Version:

An ES-spec-compliant Number.parseFloat shim/polyfill/replacement that works as far down as ES3

10 lines (6 loc) 344 B
import callBind from 'call-bind'; import getPolyfill from 'number.parsefloat/polyfill'; export default callBind(getPolyfill(), Number); export { default as getPolyfill } from 'number.parsefloat/polyfill'; export { default as implementation } from 'number.parsefloat/implementation'; export { default as shim } from 'number.parsefloat/shim';