3 ways to convert a string into a number in JS
As mentioned in the title of this post. We will be exploring a few methods you can use to cast strings into numbers and avoid being trapped in a hell of methods.
parseInt( ) vs parseFloat( )
First of all, when talking of string casting we can't avoid...
mario-lemus.hashnode.dev2 min read