Faster than parseInt Shuvo on October 17, 2021 The fastest way to convert a string to a number is using the + operator eg. let num = +"5"
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".
according to MDN
