我想重载javascript中的函数和‘基类’,以利用重载的方法以及继承的类来访问基类方法。到目前为止,我想出了一个(有效的)混合的jquery.extend()和对象字面量,但这看起来并不美观。var Base = new function(args, m) { var self = this; self.blah(); this.dosomething = function() {}
在Ember发布新版本3.6.0之后,我开始在控制台中获取错误:
rsvp.js:24 Uncaught :超过WeakMap.get () at getCacheFor (metal.js:25)at ComputedProperty.get (metal.js:2350) at Array.CPGETTER_FUNCTION at Function.jQuery.extend.jQuery.fn.extend(jquery.js:261) at Function.jQuery.<