swc_ecma_transforms_base 44.0.1

rust port of babel and closure compiler.
Documentation
1
2
3
4
5
function _class_call_check(instance, Constructor) {
    if (!(instance instanceof Constructor)) {
        throw new TypeError("Cannot call a class as a function");
    }
}