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

4 lines
209 B
Plaintext
Raw Normal View History

==== tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts (1 errors) ====
return;
~~~~~~
!!! A 'return' statement can only be used within a function body.