One function to wait for another function in Javascript (AJAX)

后端 未结 0 1870
梦毁少年i
梦毁少年i 2021-01-25 01:03

I\'m trying to find a way to make one function to hold and only return its output (hold the flow) only when the async function inside it (AJAX call) have completed.

In th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题