Browse files

Document 'length' member

  • Loading branch information...
isaacs committed Nov 22, 2011
1 parent 70c57d1 commit 1c3345a12f01fa449e37cdf106526fe46af55573
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -103,3 +103,9 @@ console.log(list.shift()) // foo
* `slice(start, end)`: Retrieve an array of the items at this position.
This involves a walk every time. It's very slow. If you find
yourself using this, consider using a normal Array instead.
### Members
* `length`: The number of things in the list. Note that, unlike
Array.length, this is not a getter/setter, but rather a counter that
is internally managed. Setting it can only cause harm.

0 comments on commit 1c3345a

Please sign in to comment.