Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if () { }

var price = 500;
var money = 100;

if (price > money) {
 console.log("Not Enough");
} else {
  console.log("Can Buy");
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+4 =