Become a member
Sign in
Ajay Aswal
Ajay Aswal

Ajay Aswal

12 Following
1 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Ajay Aswal

See more

From Better tree shaking with deep scope analysis by Vincent Chan

If an anonymous function is wrapped in a function call, the analyzer will not regard it as a independent scope because the function call could have side effects. But if the function call is tagged as pure, the analyzer can regard it as a scope like structure. Therefore, if allPass is not used, all the variables would be eliminated.

From 6 Reasons Why JavaScript Async/Await Blows Promises Away (Tutorial) by Mostafa Gaafar

…construct, good old try/catch. In the example below with promises, the try/catch will not handle if JSON.parse fails because it’s happening inside a promise. We need to call .catch on the promise and dupl…

Claps from Ajay Aswal

See more

The Value of Inconvenient Design

Jesse Weaver

Reverse a String in JavaScript

Sonya Moisset

How Does Redux Work?

André Santiago