113
reputation
4

Kuntau

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

  getSum: (num) ->
    total = 0
    total += i for i in [1..num] when @checkCondition i
    total
0
answers
1
question
~17
people reached
  • BBB
  • Member for 7 years, 3 months
  • 3 profile views
  • Last seen Jul 28 at 11:19

Top tags (2)

Score 0
Posts 1
Score 0
Posts 1

Top posts (1)

Badges (4)

Gold

Silver

Bronze

4

Rarest