This forum is now read-only. Please use our new forums at

Animate Your Name Forum

View Course » View Exercise

1588 points
Submitted by
over 3 years ago

Why no "var" before "bubbleShape"?

Is there any good reason why I should not write the following?

var  bubbleShape = "squares";

It works without it, but it does seem weird to me.

1 vote


Because codecademy says that you shouldn't write down var because var usually doen't stand for variable and squares is the varriable. Some people think it does, but it's a misunderstanding.

573 points
Submitted by
over 3 years ago