Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7ccef6a

Browse files
committedJun 21, 2015
doc: fix reduce()/filter() example
1 parent 2841a1b commit 7ccef6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ <h3 id="filter">
13151315
<pre class="brush: javascript">
13161316
var a = [0,1,2,3,4,5,7,7,9];
13171317

1318-
mori.filter(mori.isEven, a0); // => (0 2 4 6 8)
1318+
mori.filter(mori.isEven, a); // => (0 2 4 6 8)
13191319
</pre>
13201320
</div>
13211321

@@ -1334,7 +1334,7 @@ <h3 id="remove">
13341334
<pre class="brush: javascript">
13351335
var a = [0,1,2,3,4,5,6,7,9];
13361336

1337-
mori.remove(mori.isEven, a0); // => (1 3 5 7 9)
1337+
mori.remove(mori.isEven, a); // => (1 3 5 7 9)
13381338
</pre>
13391339
</div>
13401340

0 commit comments

Comments
 (0)
Please sign in to comment.