Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript If Statement

var x = 1;
if(x==1)
{
  console.log("x equals to 1")
}
else
{
  console.log("x is not equal to 1");
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #If #Statement
ADD COMMENT
Topic
Name
7+8 =