DEV Community

Discussion on: Daily Challenge #100 - Round Up

Collapse
 
antogarand profile image
Antony Garand

And here I was, thinking we had to actually round up a number!

Here is my answer anyway, because I find it interesting.

JS answer:

const roundUp = x=>~~++x