kopia lustrzana https://github.com/backface/turtlestitch
List.toString will show contents of the list
rodzic
f72c133a49
commit
9151379546
2
lists.js
2
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:
|
||||
|
|
Ładowanie…
Reference in New Issue