Spec document: https://github.com/tc39/proposal-global
I believe we will want to implement the globalThis proposal to ensure JS code written that uses this works in Titanium.
It is important to note that as it this is specced at the ECMAScript level our JS Engines (v8 and JSCore) will also implement this. Therefore we may wish to follow the polyfill outlined in that repo and ensure that we only define globalThis in environments where it is already defined
We might be able to use test262 to verify our changes are spec compliant
This should be easy to add via the ti.main.js setup we have