DEV Community

Discussion on: Faster than parseInt

joeattardi profile image
Joe Attardi

This is literally the opposite of what's true:

perf comparison

Overall in real world applications, the performance difference is probably negligible unless you have to convert millions of numbers.

Less code does not equal "faster" or "better".

0shuvo0 profile image
Shuvo Author

according to MDN
mdn ss