+ 5
What does it mean when I try to run my code and the console says "Uncaught ReferenceError: myObstacles is not defined"?
5 Antworten
+ 5
Instead of var myObstacle write
var myObstacles
On line 17
+ 6
You have defined it as var myObstacle
// just remove that 's'
+ 6
Oh I see, thank you
+ 5
Awesome!!
+ 4
Your code (corrected)
https://code.sololearn.com/WvWe3YLWV9mW/?ref=app