« Bugzilla Issues Index

#1119 — [[Call]] pass through result completion to callee even if [[value]] is empty

Because of step 17, [[Call]] returns result completion even if result.type isn't return.
As the result, [[Call]] may return NormalCompletion(empty).
For example,

function test() {
var i;
var value = test(); // value is empty...


fixed in rev13 editor's draft