Javascript Section

This section will contain Javascript related tips, tricks and snippets

6 Most Useful JavaScript Utility Functions with Typescript

While working on a Javascript project we often create a utils file that has lots of utility functions that can be used in multiple places in a Javascript app.

snippets
7 min read

Update Object in Array Without Mutation in Javascript

To update an object property inside an array we will be using javascript higher-order map method, which returns a new array and doesn't mutate the original array.

snippets
tips
3 min read

Remove Falsy Values from Javascript Object with Object.assign() method

Sometimes we get data from a database that has some values that is undefined, null, or empty. I prefer using javascript Object.assign() method to eliminate falsy values.

snippets
tips
2 min read