DEV Community

Mehul Lakhanpal
Mehul Lakhanpal

Posted on

Convert to number

Alt Text

Top comments (1)

Collapse
 
fridezlucas profile image
Lucas Fridez

What do you think of
console.log(~~input); ?