Merge pull request #680 from bocoup/597-remove-oldlen

Remove unused variables
This commit is contained in:
Tom Care 2016-06-22 15:40:54 -07:00 committed by GitHub
commit b324c7d88f
22 changed files with 0 additions and 22 deletions

View File

@ -14,7 +14,6 @@ description: Array.prototype.every - 'length' is property of the global object
return val > 11; return val > 11;
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -16,7 +16,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 11; this[0] = 11;
this.length = 1; this.length = 1;

View File

@ -10,7 +10,6 @@ description: Array.prototype.filter - 'length' is property of the global object
return obj.length === 2; return obj.length === 2;
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -12,7 +12,6 @@ description: >
return idx === 0 && val === 11; return idx === 0 && val === 11;
} }
var oldLen = this.length;
this[0] = 11; this[0] = 11;
this.length = 1; this.length = 1;
var newArr = Array.prototype.filter.call(this, callbackfn); var newArr = Array.prototype.filter.call(this, callbackfn);

View File

@ -11,7 +11,6 @@ description: Array.prototype.forEach - 'length' is property of the global object
result = (obj.length === 2); result = (obj.length === 2);
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -16,7 +16,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 11; this[0] = 11;
this.length = 1; this.length = 1;

View File

@ -6,7 +6,6 @@ es5id: 15.4.4.14-1-17
description: Array.prototype.indexOf applied to the global object description: Array.prototype.indexOf applied to the global object
---*/ ---*/
var oldLen = this.length;
this[1] = true; this[1] = true;
this.length = 2; this.length = 2;

View File

@ -8,7 +8,6 @@ description: Array.prototype.indexOf - 'length' is property of the global object
var targetObj = {}; var targetObj = {};
var oldLen = this.length;
this.length = 2; this.length = 2;
this[1] = targetObj; this[1] = targetObj;

View File

@ -8,7 +8,6 @@ description: Array.prototype.indexOf - This object is the global object
var targetObj = {}; var targetObj = {};
var oldLen = this.length;
this[0] = targetObj; this[0] = targetObj;
this[100] = "100"; this[100] = "100";
this[200] = "200"; this[200] = "200";

View File

@ -8,7 +8,6 @@ description: Array.prototype.lastIndexOf applied to the global object
var targetObj = ["global"]; var targetObj = ["global"];
var oldLen = this.length;
this[1] = targetObj; this[1] = targetObj;
this.length = 3; this.length = 3;

View File

@ -10,7 +10,6 @@ description: >
var targetObj = {}; var targetObj = {};
var oldLen = this.length;
this.length = 2; this.length = 2;
this[1] = targetObj; this[1] = targetObj;

View File

@ -8,7 +8,6 @@ description: Array.prototype.lastIndexOf - This object is the global object
var targetObj = {}; var targetObj = {};
var oldLen = this.length;
this[0] = targetObj; this[0] = targetObj;
this[100] = "100"; this[100] = "100";
this[200] = "200"; this[200] = "200";

View File

@ -12,7 +12,6 @@ description: >
return val > 10; return val > 10;
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -17,7 +17,6 @@ description: >
return false; return false;
} }
var oldLen = this.length;
this[0] = kValue; this[0] = kValue;
this.length = 2; this.length = 2;

View File

@ -10,7 +10,6 @@ description: Array.prototype.reduce - 'length' is property of the global object
return (obj.length === 2); return (obj.length === 2);
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -15,7 +15,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 0; this[0] = 0;
this[1] = 1; this[1] = 1;
this[2] = 2; this[2] = 2;

View File

@ -16,7 +16,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 0; this[0] = 0;
this[1] = 1; this[1] = 1;
this.length = 2; this.length = 2;

View File

@ -16,7 +16,6 @@ var global = this;
return obj.length === global.length; return obj.length === global.length;
} }
var oldLen = this.length;
this[0] = 12; this[0] = 12;
this[1] = 11; this[1] = 11;
this[2] = 9; this[2] = 9;

View File

@ -15,7 +15,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 0; this[0] = 0;
this[1] = 1; this[1] = 1;
this[2] = 2; this[2] = 2;

View File

@ -15,7 +15,6 @@ description: >
} }
} }
var oldLen = this.length;
this[0] = 0; this[0] = 0;
this[1] = 1; this[1] = 1;
this[2] = 2; this[2] = 2;

View File

@ -14,7 +14,6 @@ description: Array.prototype.some - 'length' is property of the global object
return val > 11; return val > 11;
} }
var oldLen = this.length;
this[0] = 9; this[0] = 9;
this[1] = 11; this[1] = 11;
this[2] = 12; this[2] = 12;

View File

@ -15,7 +15,6 @@ description: >
return false; return false;
} }
var oldLen = this.length;
this[0] = 11; this[0] = 11;
this.length = 1; this.length = 1;