swc/tests/fixture/issue-1555/output/index.js
Devon Govett 92bbde3b53
fix(es/transforms/base): Fix nested function scopes (#1559)
swc_ecma_transforms_base:
 - `resolver`: Handle nested function scopes correctly.
2021-04-13 16:23:04 +09:00

8 lines
221 B
JavaScript

export default function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf1(o1, p1) {
o1.__proto__ = p1;
return o1;
};
return _setPrototypeOf(o, p);
};