(function(){ var initializing = false; var superPattern = /xyz/.test(function(){ xyz; }) ? /\b_super\b/ : /.*/; Object.subClass = function(properties){//给Object添加一个subClass方法 var _super = this.prototype;//初始化超类 initailizing = true; var proto = new th…