6 lines
No EOL
229 B
Text
6 lines
No EOL
229 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts (1 errors) ====
|
|
{
|
|
return;
|
|
~~~~~~
|
|
!!! A 'return' statement can only be used within a function body.
|
|
} |