Long ago this list had a subject: How to retrieve the global object in strict mode? https://mail.mozilla.org/pipermail/es5-discuss/2011-February/003919.html
Roughly the conclusion was: var global = ("global", eval)("this"); However Content Security Policy https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html bans 'eval', (as well as all similar forms) making this solution fail. Is there a non-eval based solution? jjb _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss