我想将属性“名称”添加到子对象
var parent =new Object()
parent.name="raymond"
var child=new Object();
child.prototype=parent;
child.name //undefined , not work...
我想将属性“名称”添加到子对象
var parent =new Object()
parent.name="raymond"
var child=new Object();
child.prototype=parent;
child.name //undefined , not work...