From 2710f5b30777d356382763d0b4d30f3472e5b951 Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Mon, 2 Jun 2014 15:53:12 -0400 Subject: Fixed the equals block when one list is linked and the other is not --- lists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lists.js b/lists.js index 3166bf1..13ec880 100644 --- a/lists.js +++ b/lists.js @@ -305,7 +305,7 @@ List.prototype.equalTo = function (other) { if (this.length() !== other.length()) { return false; } - for (i = 0; i < this.length(); i += 1) { + for (i = 1; i <= this.length(); i += 1) { if (!snapEquals(this.at(i), other.at(i))) { return false; } -- cgit v1.3.1