index.js
function local_parseInt(str, from, to) {
  var fn = assignFn(from, to);
  return convert[fn](str + '');
}
function local_parseInt(str, from, to) {
  var fn = assignFn(from, to);
  return convert[fn](str + '');
}
function local_parseInt ( str , from , to ) { var fn = assignFn ( from , to ) ; return convert [ fn ] ( str + '' ) ; }
A buffed-up version of the standard `parseInt` function
@param str, the value to convert. Is coerced into a String.
@param from, [Number], a base to convert from
@param to, [Number] a base to convert to
@return, the result of a call to a base conversion function
A buffed - up version of the standard parseInt function