+ 2

Why is the boolean operator not working here?

I can't use the function "turnback( );" with help of (i == 1) {...} https://code.sololearn.com/WaHGl5IV7U8T/?ref=app

20th Jul 2020, 7:34 AM
Pavel Durov
Pavel Durov - avatar
2 Answers
0
when you click the button the function gets executed and the execution does not continue to check for i == 1 again.
20th Jul 2020, 8:18 AM
Bahha┣
Bahha┣ - avatar