Function Exercise #2
Lesson 5 of 14 in Coddy's Function Declarations in JavaScript course.
Challenge
EasyWrite a function named isEven that takes one number as an argument and returns true if the number is even, and false otherwise.
Try it yourself
// Write code here
All lessons in Function Declarations in JavaScript
1Course Introduction
What you will learn?3Ways of Function Declaration
Basic FunctionNested FunctionReturning a FunctionFunction ExpressionsArrow FunctionFunction Constructor