I was just wondering how Javascript treats unterminated statements. I know that if an unterminated statements exists within an expression it will error out. Does anyone know of any resources that talk about how the Javascript compiler handles unterminated expressions/statements???
Asked
Active
Viewed 37 times
0
-
What exactly do you mean by "unterminated"? A mid-token EOF? – Bergi Dec 21 '16 at 04:09
-
Statements *never* exist within an expression. – Bergi Dec 21 '16 at 04:09