archives

« Bugzilla Issues Index

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


Because of 8.3.19.1 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...


mail https://mail.mozilla.org/pipermail/es-discuss/2012-December/026847.html


fixed in rev13 editor's draft