Hi,
i want to hold a function for a condition, then to call another function.
while (level<3) {
if (score<5) {
this.level_1();
}
if (score>5) {
this.level_2();
}
level++;
}
this code is executed at a time, I actually want to make level one by one for a condition. How can I do that. Please help..!