Check for accidental global variable creation

This commit is contained in:
Steve Gravrock
2018-03-25 12:01:50 -07:00
parent 7f1cdc2d02
commit 74287c578c
9 changed files with 26 additions and 8 deletions

View File

@@ -32,6 +32,7 @@ getJasmineRequireObj().Any = function(j$) {
}
/* jshint -W122 */
/* global Symbol */
if (typeof Symbol != 'undefined' && this.expectedObject == Symbol) {
return typeof other == 'symbol';
}