DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
even or odd in javascript
const isEven = (num) => num % 2 === 0; console.log(isEven(5));// falseconsole.log(isEven(4));// true
Source by www.codelivly.com #
PREVIOUS
NEXT
Tagged:
#odd
#javascript
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit