This demo shows that even in the global scope, it’s possible that foo !== globalThis.foo. View source
foo !== globalThis.foo
Demo by @mathias