+ 1

Var n =5; if(n%2==0){console.log(n);

result equl to

7th Jan 2018, 1:30 PM
Usama Ali Abo Ali
5 Answers
+ 3
5 % 2 is 1 so no output
7th Jan 2018, 1:31 PM
Vukan
Vukan - avatar
+ 3
Error, missing closing } If with closing }, no output printed.
7th Jan 2018, 1:35 PM
Calviղ
Calviղ - avatar
0
undefined
7th Jan 2018, 1:30 PM
Usama Ali Abo Ali
0
good answer
7th Jan 2018, 1:31 PM
Usama Ali Abo Ali
0
yes
7th Jan 2018, 1:36 PM
Usama Ali Abo Ali