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");
}
 
PREVIOUS NEXT
Tagged: #JavaScript #If #Statement
ADD COMMENT
Topic
Name
9+7 =