Open Le0Developer opened 8 months ago
The current implementation does not work as expected. If global is not known, it immediately throws a ReferenceError and does not even try window or new Function("return this")()
global
window
new Function("return this")()
The current implementation does not work as expected. If
global
is not known, it immediately throws a ReferenceError and does not even trywindow
ornew Function("return this")()