1 2 3 4 5 6 7 8 9 10
function test(makeNonArray) { function C() {} C.prototype = [] c = new C(); c.push("foo"); return c.length } assertEq(test(true), 1); var a = []; var b = Object.create(a);