how to check condition in javascript 33 How To Check Condition In Javascript Output. Enter a number: 27 The number is odd. In the above program, number % 2 == 0 checks whether the number is even. If t… Written By Anonymous Friday, May 27, 2022 Add Comment Edit