Hacker News new | ask | show | jobs
JS: Which one is first? Promise or Callback?
1 points by thanasisp 4849 days ago
In a Javascript function, when both options need to be called (a promise and a callback), which one do you invoke first?