Skip to content

Commit

Permalink
Documentation of Array.to ambiguous andrewplummer#434
Browse files Browse the repository at this point in the history
Corresponding change to issue andrewplummer#434
  • Loading branch information
migg24 committed Jun 26, 2014
1 parent ba4237b commit e35e4a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,8 @@
* @short Returns a slice of the array up to <index>.
* @example
*
* [1,2,3].to(1) -> [1]
* [1,2,3].to(2) -> [1,2]
* [1,3,5].to(1) -> [1]
* [1,3,5].to(2) -> [1,3]
*
***/
'to': function(num) {
Expand Down

0 comments on commit e35e4a1

Please sign in to comment.