Open 4nmolChaudhary opened 4 years ago
keep stacking the callback inside a nesting structure which is **preferred** as Callback Hell.
preferred should be referred**java-script**
java-script avoid kebab-case should be in PascalCase (JavaScript).As the time out finished the user object is passed into the callback which can be accessed in the initialization function.
Possibly needs a rephrase with the context. In JavaScript, functions are objects
. Because of this, functions can take functions as arguments and can be returned by other functions.Function can be returned by functions, only when it's the first-class Object. JavaScript functions are first-class objects.
Note: It's good to give references or credit when using quotes or content from Somewhere else.
Eg.
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. - MDN
Overall, it's nicely written :)
Hello @ankur-anand Thanks for your review, I have applied the required changes as you mentioned it above, please provide a feedback.
LGTM!
Hello Mentors, Hope you all guys are safe at home and thanks for doing great job for us. I have written my very first blog on Asynchronous JavaScript covering concepts like,
here is the link 👇
Async JavaScript (Callbacks, Promises, Async/Await)
Please provide feedback Thanks 😃