Skip to content

Commit

Permalink
Merge pull request #22 from joeybuddy/patch-1
Browse files Browse the repository at this point in the history
error counting
  • Loading branch information
jakarmy authored Dec 16, 2017
2 parents ee16049 + 225f6a2 commit 681e53c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for index in 1...5 {
var array = [1,2,3]

for index in 0..<array.count{
//It will iterate (array.count - 1) times.
//It will iterate array.count times.
}

// Enumerate array with index and value, C loop will be removed soon
Expand Down

0 comments on commit 681e53c

Please sign in to comment.