jika () { }

var price = 500;
var money = 100;

if (price > money) {
 console.log("Not Enough");
} else {
  console.log("Can Buy");
}
Stormy Skylark