🐢
- Nashville, TN
Pinned Loading
-
isEven()
isEven() 1const isEven = (n) => (n).toString(2).slice(-1) == 0;
23const isEvenGood = (n) => !(n % 2);
45const isEvenBetter = (n) => n >> 1 << 1 === n;
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.