Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

elif exist in js?

x = 10;
if(x > 100 ) console.log('over 100')
else if (x > 90 ) console.log('over 90')
else if (x > 50 ) console.log('over 50')
else if (x > 9 ) console.log('over 9')
else console.log('lower 9') 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #elif #exist
ADD COMMENT
Topic
Name
8+5 =