Skip to content

Commit 85a18ec

Browse files
committed
removed unnecessary invocation parens
1 parent 68f5867 commit 85a18ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/metaprogramming/detecting-and-replacing-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Use `::` to detect the function, and assign to it if it does not exist.
1414
{% highlight coffeescript %}
1515
unless Array::filter
1616
Array::filter = (callback) ->
17-
element for element in this when callback(element)
17+
element for element in this when callback element
1818

1919
array = [1..10]
2020

0 commit comments

Comments
 (0)