5 ms·JS: Which one is first? Promise or Callback?1 points by thanasisp 14y agoIn a Javascript function, when both options need to be called (a promise and a callback), which one do you invoke first?