issues
search
PetterS
/
quickjs
Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
175
stars
19
forks
source link
Add Context.globalThis property
#104
Closed
qwenger
closed
2 years ago
qwenger
commented
2 years ago
Choice of the name:
global
may have been simpler and more pythonic, but it is a reserved keyword
globalThis
is therefore the logical choice, because it matches JS
global_this
would be more in Python-style, but it doesn't seem sensible to introduce yet another name for this concept.
Choice of the name:
global
may have been simpler and more pythonic, but it is a reserved keywordglobalThis
is therefore the logical choice, because it matches JSglobal_this
would be more in Python-style, but it doesn't seem sensible to introduce yet another name for this concept.