+5
-1
lines changedFilter options
+5
-1
lines changed Original file line number Diff line number Diff line change
@@ -48,8 +48,12 @@
48
48
return rejectsRegex;
49
49
};
50
50
51
+
/*jshint evil: true */
52
+
var getGlobal = new Function('return this;');
53
+
/*jshint evil: false */
54
+
51
55
var main = function() {
52
-
var globals = (typeof global === 'undefined') ? self : global;
56
+
var globals = getGlobal();
53
57
var global_isFinite = globals.isFinite;
54
58
var supportsDescriptors = !!Object.defineProperty && arePropertyDescriptorsSupported();
55
59
var startsWithIsCompliant = startsWithRejectsRegex();
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4