logical comparison?
Yes, and I believe a less than check is much, much faster than a rounding function in any case
Hmm, I haven't looked into the implementation of Math.round, but wouldn't they just be doing a simple math equation or bitwise operation to round it?
It's still more instructions than a less than comparison
Обсуждают сегодня