We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1277cc5 commit 35ae229Copy full SHA for 35ae229
python/pythonmonkey/helpers.py
@@ -49,10 +49,9 @@ def new(ctor):
49
Object.getOwnPropertyNames(globalThis)
50
.filter(prop => prop !== 'eval')
51
.filter(prop => prop[0] !== '_')
52
-.filter(prop => Object.keys(globalThis).indexOf(prop) === -1)
53
""")
54
55
-for index in range(0, int(exports.length) - 1):
+for index in range(0, int(exports.length)):
56
name = exports[index]
57
globals().update({name: globalThis[name]})
58
__all__.append(name)
0 commit comments