We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04f90c5 + 48f0604 commit 614a6fcCopy full SHA for 614a6fc
buildin/global.js
@@ -7,7 +7,7 @@ g = (function() {
7
8
try {
9
// This works if eval is allowed (see CSP)
10
- g = g || Function("return this")() || (1, eval)("this");
+ g = g || new Function("return this")();
11
} catch (e) {
12
// This works if the window reference is available
13
if (typeof window === "object") g = window;
0 commit comments