Files
FBcount/Nodejs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
T
2020-03-02 14:53:23 +07:00

5 lines
176 B
JavaScript

export default function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}