0

What is a Promise?

Currently, learning the last course of javascript(the promise lesson) and ended up confusing. I felt something is missing so I searched through google and found out about synchronous and asynchronous. What are they? What the correlations between them and promise? Are they really not important to learn so sololearn skip them? But my main question, what a promise is exactly? ps: I have read a few articles but am not really sure myself, so I want to hear the thoughts of people here

22nd Aug 2019, 4:08 PM
Dimas Hadi Azra
Dimas Hadi Azra - avatar
4 Answers
+ 3
Promise is ES6; In ES7, there is async await which is much much easier. Here is an awesome async await tutorials shared by David Carroll : https://www.sololearn.com/post/111262/?ref=app More tutorials can be found in: https://code.sololearn.com/WKKkpq0efxai/?ref=app
22nd Aug 2019, 4:35 PM
Gordon
Gordon - avatar
0
Thank you
22nd Aug 2019, 4:20 PM
Dimas Hadi Azra
Dimas Hadi Azra - avatar
0
Gordon Wow that's all really interesting codes, thank you
22nd Aug 2019, 5:37 PM
Dimas Hadi Azra
Dimas Hadi Azra - avatar