fix use of Ox.map, Ox.loop

This commit is contained in:
j 2012-05-23 17:13:38 +02:00
commit f97352ee61
6 changed files with 10 additions and 10 deletions

View file

@ -245,7 +245,7 @@ Ox.loop <f> For-loop, functional-style
step <n> Step value
fn <f> Iterator function
i <n> Counter value
> Ox.loop(10, function(i) { return i != 4; })
> Ox.loop(10, function(i) { i == 4 && Ox.break() })
4
> Ox.loop(0, 3, 2, function() {})
4