DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
IF else statement
var age=20; if (age < 18) { console.log("underage"); } else { console.log("let em in!"); }
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#IF
#statement
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit