7 lines
305 B
Plaintext
7 lines
305 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/VariableLists/parserErrorRecovery_VariableList1.ts (2 errors) ====
|
|
var a,
|
|
~
|
|
!!! error TS1009: Trailing comma not allowed.
|
|
return;
|
|
~~~~~~
|
|
!!! error TS1108: A 'return' statement can only be used within a function body. |