TypeScript/tests/baselines/reference/parserErrorRecovery_VariableList1.errors.txt
2014-07-23 12:07:46 -07:00

7 lines
277 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/VariableLists/parserErrorRecovery_VariableList1.ts (2 errors) ====
var a,
~
!!! Trailing comma not allowed.
return;
~~~~~~
!!! A 'return' statement can only be used within a function body.