Files
babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/no-helpers/output.js
2018-01-09 15:36:42 +01:00

6 lines
215 B
JavaScript

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
let Foo = function Foo() {
_classCallCheck(this, Foo);
};