Vanilla JavaScript String to Number
Sometimes we want to convert a number to a string; in my latest code piece, there was a limit set on a data attribute. This comes true as a string, so how do we convert this to a number in JavaScript?
In this case, there is not one but three valid an...
h.daily-dev-tips.com2 min read