src: add `globalThis`
Per https://github.com/tc39/proposal-global, the global value globalThis
should be configurable, writable, and non-enumerable, and be the global object.
I assume this PR is semver-minor.
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
This PR replaces #10405.