Javascript syntax -> is codecademy IDE forgiving?

Hi there,

Long time Python coder and incidental Java coder here. I just started learning Javascript and obviously coming from writing a lot of Python i keep forgetting the ‘;’ at the end. A lot of times this doesn’t seem to bother the interpreter.

Java is not forgiving when it comes down to forgetting this. Is this Javascript being very flexible, or is it codecademy being gentle?

Semi-colons are required in JS. But modern JS engines and browsers with Just in Time Compiling automatically add the semi-colons when needed. Roy does a much better job at explaining this.

1 Like

Thank you, that certainly clears things up for me!