Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Conditional operator

if (x === 5 || x === 7 || x === 10 ||x === 20) {
  // run my code
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #Conditional #operator
ADD COMMENT
Topic
Name
8+5 =