DEV Community

loading...

Discussion on: 8 neat Javascript tricks you didn't know in 4 minutes.

jkettmann profile image
Johannes Kettmann

I would disagree. parseInt is much more explicit because it does what it says. It parses an integer.

Thread Thread
blessingartcreator profile image
Blessing Hirwa Author

I agree. But all can be used.

Some comments have been hidden by the post's author - find out more