primitiveProto.js (304B)
1 function fna() {} 2 fna.prototype = undefined; 3 new fna; 4 5 function fnb() {} 6 fnb.prototype = null; 7 new fnb; 8 9 function fnc() {} 10 fnc.prototype = 3; 11 new fnc; 12 13 function fnd() {} 14 fnd.prototype = true; 15 new fnd; 16 17 function fne() {} 18 fne.prototype = "foo"; 19 new fne; 20 21 function fnf() {} 22 fnf.prototype = /foo/; 23 new fnf;