Objects
Merge Multiple Nested …
If you have a need to merge multiple simple or complex JavaScript objects together into a single object, overriding or extending previous values, this helper function is handy. I often use multiple different objects to manage things like the configuration values for my applications. I might have one …
Removing Objects from …
Finding and remove duplicate information in an array is a very common task. In JavaScript this is pretty easy using the .reduce() method. Let’s say we have a simple array of objects like this: const myArray = [{ first_name: 'brian', last_name: 'wayne', age: 36 },{ first_name: …