10 lines
221 B
JavaScript
10 lines
221 B
JavaScript
|
|
'use strict';
|
||
|
|
|
||
|
|
function _classCallCheck(instance, Constructor) {
|
||
|
|
if (!(instance instanceof Constructor)) {
|
||
|
|
throw new TypeError("Cannot call a class as a function");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
exports._classCallCheck = _classCallCheck;
|