Commit 667d17da authored by Chris's avatar Chris

Fixing a global variable

parent 85a422dc
......@@ -119,7 +119,7 @@ BasicSet.prototype.getAll = function() {
BasicSet.prototype.getIntersection = function(otherSet) {
if (!Array.isArray(otherSet)) { return []; }
var i, j, key, results = [];
var i, j, len, key, results = [];
for (i = 0, len = otherSet.length; i < len; i++) {
if (this._data[otherSet[i]] !== undefined) {
results.push(otherSet[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment