Skip to main content
Kuntau's user avatar
Kuntau's user avatar
Kuntau's user avatar
Kuntau
  • Member for 7 years, 6 months
  • Last seen more than a month ago
About

MyObject = checkCondition: (num) -> return true if num is 5

  getSum: (num) ->
    total = 0
    total += i for i in [1..num] when @checkCondition i
    total
Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
5
bronze badges
Top tags
1
Score
1
Posts
50
Posts %
1
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
Top posts