Skip to main content
Kuntau's user avatar
Kuntau's user avatar
Kuntau's user avatar
Kuntau
  • Member for 12 years, 8 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.
4
bronze badges
Top tags
0
Score
1
Posts
100
Posts %
Top posts