Sha256: fdfe8abb7e8f11a50a489bdded125bf23f63aaf7c478f1386b520f9f28408a2e
Contents?: true
Size: 403 Bytes
Versions: 320
Compression:
Stored size: 403 Bytes
Contents
var $parseInt = require('./_global').parseInt , $trim = require('./_string-trim').trim , ws = require('./_string-ws') , hex = /^[\-+]?0[xX]/; module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){ var string = $trim(String(str), 3); return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); } : $parseInt;
Version data entries
320 entries across 8 versions & 3 rubygems