DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript if statement
if
(
5
<
10
)
{
console
.
log
(
"5 is less than 10"
)
;
}
else
{
console
.
log
(
"5 is now bigger than 10"
)
}
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#javascript
#statement
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit