Discord
Login
Community
DARK THEME

What does unexpected token and expected '=' mean?

just confused about what this means.

Hey! That error just means the code is written in a way MicroScript doesn’t understand.

"Unexpected token" = you added something in the wrong spot. "Expected '=' " = MicroScript was waiting for an equal sign but didn’t see one.

For example:

let score 10 // ❌ This will cause that error

It should be:

let score = 10 // ✅ This works

Just double-check your line — make sure you’re using = when setting a value, and there’s nothing random in the way. If you want, send me the code and I’ll help fix it fast. Hope this helps. :)

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community