Removing values from an array is easy and tricky at the same time. JavaScript provides three main ways to modify or remove an element from an array. Let’s check them out
Easy way to remove a property from an Object using rest operator.