© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Matt
oh yeah
parseInt('123', 10) OR parseInt('123') ?
Ibrahim Tanyalcin
{intrst:"Scnc&Art",msc:"admin@MutaFrame",strive:"Experiment&Learn",loves:"ES5",hates:"bandwagon",lang:"Javascript",twttr:"@ibrhmTanyalcin"}
I chose the first for explicitness. However if your payload does not start with non numeric characters, I'd do:
var x = "123.12314" x = +x | 0
I presume this will be much faster
Ibrahim Tanyalcin
{intrst:"Scnc&Art",msc:"admin@MutaFrame",strive:"Experiment&Learn",loves:"ES5",hates:"bandwagon",lang:"Javascript",twttr:"@ibrhmTanyalcin"}
I chose the first for explicitness. However if your payload does not start with non numeric characters, I'd do:
var x = "123.12314" x = +x | 0I presume this will be much faster