class declarations also have a lexical self binding
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
var Test = (function () {
|
||||
var _Test = function Test() {
|
||||
babelHelpers.classCallCheck(this, _Test);
|
||||
function Test() {
|
||||
babelHelpers.classCallCheck(this, Test);
|
||||
|
||||
babelHelpers.get(Object.getPrototypeOf(_Test.prototype), "hasOwnProperty", this).call(this, "test");
|
||||
};
|
||||
babelHelpers.get(Object.getPrototypeOf(Test.prototype), "hasOwnProperty", this).call(this, "test");
|
||||
}
|
||||
|
||||
return _Test;
|
||||
return Test;
|
||||
})();
|
||||
Reference in New Issue
Block a user