summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ball <cycomachead@gmail.com>2014-07-26 17:14:34 -0700
committerMichael Ball <cycomachead@gmail.com>2014-07-26 17:14:34 -0700
commit91513795468d30630bb132c1e479a26b2df9b1b2 (patch)
tree6025edcbacc985dd1e4be6c6aa4bee51b6e9fdea
parentf72c133a494be537ad51f784d021ba6e3c313bb7 (diff)
downloadsnap-91513795468d30630bb132c1e479a26b2df9b1b2.tar.gz
snap-91513795468d30630bb132c1e479a26b2df9b1b2.zip
List.toString will show contents of the list
-rw-r--r--lists.js2
1 files changed, 1 insertions, 1 deletions
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: