代码
var person={
name:"linzi",
age:19,
gender:"man",
detail:function () {
return "just be lin";
}
}
console.log(person.name);
console.log(person.detail());
输出:
linzi
just be lin