swc/tests/tsc-references/es6/classDeclaration/classWithSemicolonClassElementES62/input.ts/es5.1.normal/output.js

10 lines
244 B
JavaScript

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