summaryrefslogtreecommitdiff
path: root/jstests/auth/js_scope_leak.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/js_scope_leak.js')
-rw-r--r--jstests/auth/js_scope_leak.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/auth/js_scope_leak.js b/jstests/auth/js_scope_leak.js
index f1d5d192876..847919debf1 100644
--- a/jstests/auth/js_scope_leak.js
+++ b/jstests/auth/js_scope_leak.js
@@ -21,8 +21,7 @@ function missingOrEquals(string) {
'var global = function(){return this;}.call();'
// Uncomment the next line when debugging.
// + 'print(global.hasOwnProperty("someGlobal") ? someGlobal : "MISSING" );'
- +
- 'return !global.hasOwnProperty("someGlobal")' +
+ + 'return !global.hasOwnProperty("someGlobal")' +
' || someGlobal == unescape("' + escape(string) + '");' +
'}()';
}