blob: f0154082cde1fcae3cfdb983b290563709e83092 (
plain)
1
2
3
4
5
6
7
|
function testPrimitiveConstructorPrototype() {
var f = function(){};
f.prototype = false;
for (let j=0;j<5;++j) { new f; }
return "ok";
}
assertEq(testPrimitiveConstructorPrototype(), "ok");
|