📜  javascript代码示例中的承诺是什么

📅  最后修改于: 2022-03-11 15:01:19.537000             🧑  作者: Mango

代码示例6
Promises make async javascript easier as they are easy to use and write than callbacks. Basically , promise is just an object , that gives us either success of async opertion or failue of async operations