Nice trick but is it widely used in JS? Considering how hard is to Google this, I would recommend using `parseInt` instead