Protect and serve Please explain

I’ve solved a level. But there is things that i can’t understand. Can someone please explain it to me.

1 Like

Are you talking about var defend = [] and var soldiers = [], if so they’re basically empty arrays that you create so you can fill them with stuff like x, y positions or soldiers.

1 Like