Jump to content

fezekile

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About fezekile

  • Rank
    Newbie
  1. Hello guys I have been learning and using Javascript for sometime now I have met a situation where I have 3 functions, where one has to wait for one another to finish executing the after they finished executing I have to go to some block of code. This 3 functions take some time to execute as they even have some database queries so they become left out so I heard thios can be fixed by promises but please help how can I use promises in this situation. Make simple code snippents please. E.g //create array of events event = []; //first function go to shop()
×
×
  • Create New...