andrewplummer/Sugar — Issue #33: Array.each example on sugarjs.com/api missing a param
Author: secoif
Created: 2011-10-16 08:52:05+00:00
State: open

Minor bug in docs on site for Array.each:

Example says:
```javascript
[1,2,3,4].each(function(n) {
// Called 4 times: 3, 4, 1, 2
}, true);
```

When it should probably say:

```javascript
[1,2,3,4].each(function(n) {
// Called 4 times: 3, 4, 1, 2
}, 2, true);
```

Note missing `index` param.

If the site was on github :D I'd have changed it myself, but alas…