Skip to content

Commit

Permalink
Editorial: Edit misleading note on return statements. (tc39#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgNeis authored and bterlson committed Jul 27, 2017
1 parent 77b8451 commit e788e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -16826,7 +16826,7 @@ <h2>Syntax</h2>
`return` [no LineTerminator here] Expression[+In, ?Yield, ?Await] `;`
</emu-grammar>
<emu-note>
<p>A `return` statement causes a function to cease execution and return a value to the caller. If |Expression| is omitted, the return value is *undefined*. Otherwise, the return value is the value of |Expression|.</p>
<p>A `return` statement causes a function to cease execution and return a value to the caller (unless overruled by a `finally` handler). If |Expression| is omitted, the return value is *undefined*. Otherwise, the return value is the value of |Expression|.</p>
</emu-note>

<!-- es6num="13.10.1" -->
Expand Down

0 comments on commit e788e56

Please sign in to comment.