+ 2
Why it doesn't work??
3 Answers
+ 2
@Sina
Your code is correct but because of the huge range, it will take a long time to load and eventually freezes. Try to reduce the range to make it work.
Or if you want you can use setInterval instead of loop so it won't freeze. Like this:
https://code.sololearn.com/WA1mFTv97799/?ref=app
+ 1
Thanks
0
https://code.sololearn.com/WNAPCzBZbOhx/?ref=app
Sorry why it doesn't change??