Skip to content

Commit 37835c5

Browse files
committed
another parens bites the dust
1 parent e8884f9 commit 37835c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/arrays/max-array-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In ECMAScript 5, use `Array#reduce`. In older javascripts, use Math.max over a l
1313

1414
{% highlight coffeescript %}
1515
# ECMAScript 5
16-
[12,32,11,67,1,3].reduce (a,b) -> Math.max(a,b)
16+
[12,32,11,67,1,3].reduce (a,b) -> Math.max a, b
1717
# => 67
1818

1919
# Pre-EC5

0 commit comments

Comments
 (0)