Senior Software Engineer @ HSBC | Cloud Wizard
Reduce = Map + Filter + ...
Can you please explain why someArray.length = 0 is better than just someArray= [] - it is sort simple and more readable?
About the point it gets difficult to keep track we can use Proxy
We can using Map or Object
console.time has some caveats that why we have Performance API
Hi hardeep,
I wasn't aware of the performance module. That looks really promising. Though to measure time between two points, one can also use console.time, and it directly outputs the difference.

Cheers Shivam
Alfiya Saifee
Junior Developer
Very nice it is good guide for me. Keep it up☺️