swc_ecma_transforms_base 42.0.0

rust port of babel and closure compiler.
Documentation
1
2
3
4
5
6
7
8
9
function _instanceof(left, right) {
    "@swc/helpers - instanceof";

    if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
        return !!right[Symbol.hasInstance](left);
    } else {
        return left instanceof right;
    }
}