Skip to content

Commit 2a6fdee

Browse files
committed
Fix wrong return value for Array#toString
1 parent db17fc3 commit 2a6fdee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/arrays/creating-a-string-from-an-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Use JavaScript's Array toString() method:
1313

1414
{% highlight coffeescript %}
1515
["one", "two", "three"].toString()
16-
# => 'three,two,one'
16+
# => 'one,two,three'
1717
{% endhighlight %}
1818

1919
## Discussion

0 commit comments

Comments
 (0)