there is a bug in my mario game says destructuring assignmnet target...how can i remove it?
there is no output of my game...due to bug...i dont even understand what that error means?
Answered by Coder100 (18872) [earned 5 cycles]
- don't forget to add semicolons ... they are important!
- the error most likely comes from (1), because this is what js actually thinks you are trying to do:
let ['a', 'b'] = ["...", "..."];
its called destructuring, and you use variables not strings.