Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
iamthepieman
· 12y ago · 0 comments
I'm sure you know this by now but you can keep the syntax and use Number instead
xs.parseInt(Number)
Comments
[–]
matb33
12y ago
I think xs.map(Math.floor) takes the cake if I recall speed tests properly