Closed bengl closed 3 years ago
Number.isInteger is a faster operation than flooring a value and then checking it with isFinite.
Number.isInteger
isFinite
Benchmarks says that Number.isInteger() is slower.
Closed due to inactivity, please reopen if needed.
Number.isInteger
is a faster operation than flooring a value and then checking it withisFinite
.