Lurkers Javascript

I think I/we are one the right track! Thank you, but it says this error:

image

it should be += 1 I think not ++1 because you are incrementing, and that means you still have the same value but adding 1, except that the one that is in the picture, it means you are adding, but there isn’t an equation.

variable += ais the same aslet variable = variable ++ a

you don’t need the one

Thank you for everyone who helped me do this. Turns out it was annoying bracket problems and I put enemyIndex += 1; in the wrong place. :expressionless:

1 Like

i already said that

It was somewhere else.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.