- 2
Does anybody know how to repeat alerts?
Tell if u know https://code.sololearn.com/W3C5sEXrOx5w/?ref=app
3 Answers
+ 4
Use loop
E.g
let repeat = 3;
while (repeat > 0){
alert("you are destined for greatness");
repeat--;
}
this will execute the alert function three times
rayyan please use relevant tags for your questions next time
0
Ty
0
Also about the youareanidiot.org tag, its just a virus that im trying to recreate but it is harmless. Thats all have a good day