RunJS icon indicating copy to clipboard operation
RunJS copied to clipboard

`SyntaxError: Missing semicolon.` when typing object literal

Open dnicolson opened this issue 5 years ago • 2 comments

The issue only exists when typing the object literal, the issue does not exist when defining a variable.

Screen Shot 2020-04-22 at 15 57 30

RunJS 1.8.0

dnicolson avatar Apr 22 '20 14:04 dnicolson

With RunJS 2.9.0 the error is different: Screenshot 2023-05-28 at 19 59 53

dnicolson avatar May 28 '23 18:05 dnicolson

The wording of the message has changed, but the meaning is still the same. This error is generated by Babel, which has received multiple updates since this ticket was opened.

lukehaas avatar May 29 '23 08:05 lukehaas