no globals
This commit is contained in:
parent
bf228cf711
commit
496da6aa77
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ if (!Array.prototype.indexOf) {
|
|||
}
|
||||
var arr = Object(this),
|
||||
i,
|
||||
len = arr.length >>> 0;
|
||||
len = arr.length >>> 0,
|
||||
ret = -1;
|
||||
for (i = 0; i < len; i++) {
|
||||
if (i in arr && arr[i] === val) {
|
||||
|
@ -115,4 +115,4 @@ if (!Object.keys) {
|
|||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue