if(typeof Object.create!=="function")
Object.create=function(father,props){
function F(){};
F.prototype=father;
var obj=new F();
F=null;
if(props){
for(var key in props){
obj[key]=props[key].value;
}
return obj;
牛奶老哥哥
相关分类