This section will contain Javascript related tips, tricks and snippets
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.
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.
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.