mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
11 lines
260 B
JavaScript
11 lines
260 B
JavaScript
|
function _classCallCheck(instance, Constructor) {
|
||
|
if (!(instance instanceof Constructor)) {
|
||
|
throw new TypeError("Cannot call a class as a function");
|
||
|
}
|
||
|
}
|
||
|
// @target: es6
|
||
|
var v = function C() {
|
||
|
"use strict";
|
||
|
_classCallCheck(this, C);
|
||
|
};
|