configurable,enumerable,writable和value。
...person = {
name:"Nicholas",
friends:["Shelby","Court","Van"]
}
var anotherPerson = Object.create... anotherPerson.name = "Greg";
anotherPerson.friends.push("Rob");
var yetAnotherPerson = Object.create...person = {
name:"Nicholas",
friends:["Shelby","Court","Van"]
}
var anotherPerson = Object.create...function SuperType(name){
this.name = name;
this.colors = ["red","blue","green"];
}
SuperType.prototypes.sayName