DEV Community

Discussion on: Practical Ways to Write Better JavaScript

Collapse
 
reevebarthelme profile image
ReeveBarthelme

Great article.

Could you link to an article or explain "Numbers in JavaScript just suck, always use a radix parameter with parseInt" further?

I understand magic numbers aren't ideal but what exactly makes a radix parameter superior?