archives

« Bugzilla Issues Index

#4489 — 14.1.20 Runtime Semantics: Evaluation: Inconsistent use of NormalCompletion


14.1.20 Runtime Semantics: Evaluation:

FunctionExpression : function BindingIdentifier ( FormalParameters ) { FunctionBody }


Step 11 uses `Return NormalCompletion(closure)`.



FunctionExpression : function ( FormalParameters ) { FunctionBody }

Step 5 uses `Return closure`.


NormalCompletion should be used consistently.


Fixed in ES2016 Draft (3a00089).