diff --git a/underscore.js b/underscore.js index d219bc206..f2c8c94b7 100644 --- a/underscore.js +++ b/underscore.js @@ -679,12 +679,12 @@ if (a.length !== b.length) return false; // Objects with different constructors are not equal. if (a.constructor !== b.constructor) return false; - // Assume equality for cyclic structures. The algorithm for detecting cyclic structures is - // adapted from ES 5.1 section 15.12.3, abstract operation `JO`. + // Assume equality for cyclic structures. The algorithm for detecting cyclic + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. var length = stack.length; while (length--) { - // Linear search. Performance is inversely proportional to the number of unique nested - // structures. + // Linear search. Performance is inversely proportional to the number of + // unique nested structures. if (stack[length] == a) return true; } // Add the first object to the stack of traversed objects.