//without ln#12, Let's say:
var b=new B;
//then
b.constructor === B; //not true; so this is pervert in that b is CONSTRUCTED by B and b.constructor shall be B
【 在 xiatianup (李 ,只是期待夏天!!) 的大作中提到: 】
: 谢谢,已经认真看了(英文不好,反复看。。。)
: and if you changes B's prototype to C, you should set C's own property "constructor" to B.
: 意思就是继承自哪个,就把B的constructor指向被继承的对象吧。
: ...................
--
FROM 183.95.135.*