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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+2 =