Sha256: e3168b43aa576475e81f807ac4c3908d5c9b8ac2aaa5676a72d55913210aac77

Contents?: true

Size: 133 Bytes

Versions: 396

Compression:

Stored size: 133 Bytes

Contents

Array::accumulate = (accumulator) ->
  return this.map(accumulator) if typeof Array::map is 'function'
  accumulator i for i in this

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.158 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.157 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.156 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.155 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.154 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.153 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.152 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.151 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.150 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.149 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.148 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.147 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.146 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.145 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.144 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.143 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.142 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.141 tracks/coffeescript/exercises/accumulate/example.coffee
trackler-2.2.1.140 tracks/coffeescript/exercises/accumulate/example.coffee