重构原型对象的方式
function Fn(){
this.x = 100
}
Fn.prototype = {
constructor: Fn,
a: function() {},
b:function(){}/;;
.var f1 = new Fn;
2.7原型链模式扩展-批量设置公有属性
原文:https://www.cnblogs.com/z-dl/p/8929871.html