summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2014-07-27 15:03:25 +0200
committerJens Mönig <jens@moenig.org>2014-07-27 15:03:25 +0200
commit3647824d52ceca5c9662878a425666c2ca59b0a0 (patch)
tree89975ebb9239e780b738eef620bd4cc28e4cba14
parent00f73a75a5645338721614f8be37abc831be5b6f (diff)
parent91513795468d30630bb132c1e479a26b2df9b1b2 (diff)
downloadsnap-3647824d52ceca5c9662878a425666c2ca59b0a0.tar.gz
snap-3647824d52ceca5c9662878a425666c2ca59b0a0.zip
Merge pull request #530 from cycomachead/list-string
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: