Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace double tilde with
Math.floor
(#30691)
Nowadays, browser engines have improved a lot and `Math.floor` is the same, if not faster. Also, clarity is better than micro-optimizations in this case.
- Loading branch information