Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.268 kb
identity = (el,callback) ->
delayed = -> callback(el)
setTimeout delayed,100
container=[]
for n in [1 to 10]
identity(n,cont(x))
# cont(x) is the continuation that put the value of cb function inside x
container.push(x) if x > 5
console.log(container)
Jump to Line
Something went wrong with that request. Please try again.