Promises serve to replace the callback functions? [duplicate]

2

promises replace the callback functions ?

Or are promises used only in asynchronous functions?

    
asked by anonymous 03.07.2018 / 18:34

0 answers