• By Christopher Eyre
  • ·
  • Posted 20 May 2020
Promises and Lies

Promises in Javascript Promises were added to Javascript as a standard means to avoid nesting callback functions. Without promises, each function could have its own functions to be called once the job is complete. They are mostly used for asynchronous events. They are not a means of lazy evaluation...