Fixes #157. This makes this library / polyfill usable on gjs as well as any other standards compliant runtime that doesn't refer to the global object as global.
I also added a short comment in the copied internal/primordials.js to note that this modification has been made so that the header comment remains accurate.
Fixes #157. This makes this library / polyfill usable on gjs as well as any other standards compliant runtime that doesn't refer to the global object as
global
.I also added a short comment in the copied
internal/primordials.js
to note that this modification has been made so that the header comment remains accurate.