UNPKG

number.parseint

Version:

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

12 lines (8 loc) 186 B
'use strict'; var parseInt = require('../'); var test = require('tape'); var runTests = require('./tests'); test('as a function', function (t) { runTests(parseInt, t); t.end(); });