Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
FIX #95
  • Loading branch information
orbanbotond committed Nov 3, 2013
commit 2cc50bce27bbd9f70341678c6acf3c565ed255b9
2 changes: 1 addition & 1 deletion chapters/arrays/testing-every-element.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You want to be able to check that every element in an array meets a particular c
Use Array.every (ECMAScript 5):

{% highlight coffeescript %}
evens = (x for x in [1..10] by 2)
evens = (x for x in [0..10] by 2)

evens.every (x)-> x % 2 == 0
# => true
Expand Down