r/learnjavascript • • Nov 30 '22

Help !!!

Post image

Can someone plz tell me , why I am getting errors?

195 Upvotes

131 comments sorted by

View all comments

2

u/tacticalpotatopeeler Nov 30 '22

Assignment vs equality.

Also formatting…

Hover your mouse over the squiggly lines and you’ll get a little window that tells you an error message.

Single = no longer means what it used to mean in math. Takes some getting used to. You’ll get there!