porffor 0.36.3 → 0.36.5
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_objects.js +2 -2
- package/package.json +1 -1
- package/runner/index.js +1 -1
@@ -183,8 +183,6 @@ export default function({ builtinFuncs }, Prefs) {
|
|
183
183
|
...autoFuncs('Math')
|
184
184
|
});
|
185
185
|
|
186
|
-
object('Reflect', autoFuncs('Reflect'));
|
187
|
-
|
188
186
|
// automatically generate objects for prototypes
|
189
187
|
for (const x of builtinFuncKeys.reduce((acc, x) => {
|
190
188
|
const ind = x.indexOf('_prototype_');
|
@@ -224,7 +222,9 @@ export default function({ builtinFuncs }, Prefs) {
|
|
224
222
|
...autoFuncs('Number')
|
225
223
|
});
|
226
224
|
|
225
|
+
object('Reflect', autoFuncs('Reflect'));
|
227
226
|
object('Object', autoFuncs('Object'));
|
227
|
+
object('JSON', autoFuncs('JSON'));
|
228
228
|
|
229
229
|
|
230
230
|
// these technically not spec compliant as it should be classes or non-enumerable but eh
|
package/package.json
CHANGED