The same as #208.
var obj = {
method() { console.log("foo"); }
};
new obj.method();
becomes
var obj = {method: function() {
console.log("foo");
}};
new obj.method();
which does not throw a TypeError, which it should since FunctionCreate is
called but not MakeConstructor.
Original issue reported on code.google.com by dome...@domenicdenicola.com on 4 Mar 2013 at 5:43
Original issue reported on code.google.com by
dome...@domenicdenicola.com
on 4 Mar 2013 at 5:43