[JavaScript] Pure Function for Clean Code
Introduction in this article, I will be talking about pure vs impure function, and why it is a good practice to always try to use pure function if we can. A pure function does not only exist in JavaScript. You can adopt this in almost every programmi...
![[JavaScript] Pure Function for Clean Code](https://cdn.hashnode.com/res/hashnode/image/upload/v1698236087289/8447281f-9b19-4c8f-a740-5997d5f24113.jpeg)
![[JavaScript] Intermediately Invoked Function Expression (IIFE)](https://cdn.hashnode.com/res/hashnode/image/upload/v1698145568729/8f46d8aa-c0e5-4b83-a63d-2c1b0084a8b2.png)
![[JavaScript] Deep Dive Into Event Loop - How JavaScript Works](https://cdn.hashnode.com/res/hashnode/image/upload/v1698075177044/f8dcbccb-38ee-4f4c-b530-f0b457dc0f74.gif)
![[JavaScript] Understanding Event Capturing, Bubbling, Delegation](https://cdn.hashnode.com/res/hashnode/image/upload/v1697947146442/6e213b07-f155-4405-b6ac-83c7d11bf359.avif)
![[JavaScript] Object & Array Destructuring](https://cdn.hashnode.com/res/hashnode/image/upload/v1685178771666/662fdc18-29cb-421e-87ae-eb6812ee3d1f.png)
![[JavaScript] Tutorial for Sorting Table by Column - CRUD](https://cdn.hashnode.com/res/hashnode/image/upload/v1685087876905/3a081488-9e06-4906-9445-4ed254daaf88.webp)