tanaypratap / teamtanay.jobchallenge.dev

The web repository for all things #teamtanayjobchallenge
https://2020.teamtanay.jobchallenge.dev
132 stars 430 forks source link

[Blog][Feedback]Async JavaScript #319

Open 4nmolChaudhary opened 4 years ago

4nmolChaudhary commented 4 years ago

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 😃

ankur-anand commented 4 years ago

typos:

  1. keep stacking the callback inside a nesting structure which is **preferred** as Callback Hell. preferred should be referred
  2. **java-script** java-script avoid kebab-case should be in PascalCase (JavaScript).
  3. 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.

    terminology

  4. 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

ankur-anand commented 4 years ago

Overall, it's nicely written :)

4nmolChaudhary commented 4 years ago

Hello @ankur-anand Thanks for your review, I have applied the required changes as you mentioned it above, please provide a feedback.

thank-you (2)

ankur-anand commented 4 years ago

LGTM!