assertThisInitialized.js 192 B

1234567
  1. export default function _assertThisInitialized(self) {
  2. if (self === void 0) {
  3. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  4. }
  5. return self;
  6. }