简单的来说就是键值对,写一个函数,然后传值进去,
var p1 = new Person(‘Jack‘,20);
console.log(p1.__proto__);
什么是js面向对象??
原文:http://www.cnblogs.com/ZH1132672711/p/4098339.html