porffor 0.49.8 → 0.49.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/builtins/reflect.ts +10 -0
- package/compiler/builtins_precompiled.js +287 -273
- package/compiler/codegen.js +27 -3
- package/package.json +1 -1
- package/runner/flamegraph.js +1 -1
- package/runner/index.js +1 -1
@@ -136,4 +136,14 @@ local.set ${key}`;
|
|
136
136
|
}
|
137
137
|
|
138
138
|
return out;
|
139
|
+
};
|
140
|
+
|
141
|
+
|
142
|
+
export const __Reflect_apply = (target: any, thisArgument: any, argumentsList: any) => {
|
143
|
+
return Porffor.call(target, argumentsList, thisArgument, null);
|
144
|
+
};
|
145
|
+
|
146
|
+
export const __Reflect_construct = (target: any, argumentsList: any, newTarget: any = target) => {
|
147
|
+
// todo: giving undefined/null to newTarget should not default
|
148
|
+
return Porffor.call(target, argumentsList, null, newTarget);
|
139
149
|
};
|