Skip to content

Commit 98792e2

Browse files
committed
removed invocation parens from Concatenating Arrays recipe
1 parent 85a18ec commit 98792e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/arrays/concatenating-arrays.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Use JavaScript's Array concat() method:
1414
{% highlight coffeescript %}
1515
ray1 = [1,2,3]
1616
ray2 = [4,5,6]
17-
ray3 = ray1.concat(ray2)
17+
ray3 = ray1.concat ray2
1818
# => [1, 2, 3, 4, 5, 6]
1919
{% endhighlight %}
2020

0 commit comments

Comments
 (0)