¡@

Home 

javascript Programming Glossary: square.bind

What's the difference between a continuation and a callback?

http://stackoverflow.com/questions/14019341/whats-the-difference-between-a-continuation-and-a-callback

4 alert function pythagoras x y cont var x_squared callcc square.bind null x var y_squared callcc square.bind null y add x_squared.. x_squared callcc square.bind null x var y_squared callcc square.bind null y add x_squared y_squared cont function square x cont multiply.. the body of the function pythagoras var x_squared callcc square.bind null x var y_squared callcc square.bind null y add x_squared..