RESTRICTED
FUNDAMENTALS
If the numbers is even return true
. If it's odd, return false
.
Oh yeah... the following symbols/commands have been disabled!
- use of
%
const isEven = n => Number.isInteger(n / 2)
RESTRICTED
FUNDAMENTALS
If the numbers is even return true
. If it's odd, return false
.
Oh yeah... the following symbols/commands have been disabled!
%
const isEven = n => Number.isInteger(n / 2)