mathiasbynens/proposal-number-fromstring: {BigInt,Number}.fromString(string, radix)

https://github.com/mathiasbynens/proposal-number-fromstring

Number.fromString method acts as the inverse of Number#tostring(radix) It is clearly than parseInt.




blog comments powered by Disqus