代码
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
2023-10-11 22:23:46
代码
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