function f() {
return f.arguments;
}
new f(1,2,3);
and
function f() {
return f.caller;
}
function g() {
return new f();
}
g();
Unsurprisingly, in tested implementations, .caller and .arguments work the same way regardless whether the receiver has been [[Call]]ed or has been [[Construct]]ed. TODO:
Consider:
and
Unsurprisingly, in tested implementations, .caller and .arguments work the same way regardless whether the receiver has been [[Call]]ed or has been [[Construct]]ed. TODO: