From 91513795468d30630bb132c1e479a26b2df9b1b2 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sat, 26 Jul 2014 17:14:34 -0700 Subject: List.toString will show contents of the list --- lists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lists.js b/lists.js index c56789a..1cd45e2 100644 --- a/lists.js +++ b/lists.js @@ -112,7 +112,7 @@ function List(array) { } List.prototype.toString = function () { - return 'a List [' + this.asArray + ']'; + return 'a List [' + this.asArray() + ']'; }; // List updating: -- cgit v1.3.1