Initialize goog.global correctly when running as an ES module
Initialize goog.global correctly when running as an ES module

In a module, the toplevel `this` is always undefined. Even tricks like (function() {return this}).call(null) return undefined.

We can determine the toplevel this value from other sources however.

RELNOTES: Initialize goog.global correctly when running as an ES module

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=244377403

lucidsoftware/closure-library,lucidsoftware/closure-library,lucidsoftware/closure-library,google/closure-library,lucidsoftware/closure-library,google/closure-library,google/closure-library,google/closure-library,google/closure-library