TypeScript/tests/baselines/reference/parserErrorRecovery_VariableList1.errors.txt

7 lines
277 B
Plaintext
Raw Normal View History

==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/VariableLists/parserErrorRecovery_VariableList1.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
var a,
~
!!! Trailing comma not allowed.
return;
~~~~~~
!!! A 'return' statement can only be used within a function body.