标签:io ar sp on log cti bs line as
简单的来说就是键值对,写一个函数,然后传值进去,
function Person(name,age){ | |
this.name = name; | |
this.age = age; | |
} | |
var p1 = new Person(‘Jack‘,20); console.log(p1.__proto__); |
标签:io ar sp on log cti bs line as
原文地址:http://www.cnblogs.com/ZH1132672711/p/4098339.html