by jblow · 14y ago · 0 comments
Answer: you do it with callbacks, because they are literally the only mechanism available. Welcome (back) to callback hell.
But if I were making a replacement language that runs in the browser, among the highest priorities would be to make it not work via callbacks.