Skip to content

Instantly share code, notes, and snippets.

@Sin9k
Created January 28, 2020 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sin9k/617d5d6ca325549843f7c5af9895f91e to your computer and use it in GitHub Desktop.
Save Sin9k/617d5d6ca325549843f7c5af9895f91e to your computer and use it in GitHub Desktop.
"use strict";
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); } else { return left instanceof right; } }
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var Test =
/*#__PURE__*/
function () {
function Test() {
var _this = this;
_classCallCheck(this, Test);
_defineProperty(this, "arrowFunction", function () {
return _this;
});
}
_createClass(Test, [{
key: "methodFunction",
value: function methodFunction() {
return this;
}
}]);
return Test;
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment