总结5种JavaScript异步解决方案 目录 1.回调 回调的优点和缺点 2.事件监听(发布订阅模式) 事件监听的优点和缺点 3.Promise Promise 优点和缺点 4.Generator Generator的 JS脚本 / JAVA编程 2023年07月11日 72