mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
92bbde3b53
swc_ecma_transforms_base: - `resolver`: Handle nested function scopes correctly.
8 lines
221 B
JavaScript
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);
|
|
};
|