Usage of filter() method in javascript.
The functionality of filter() method is to filter out the elements based on the condition provided in the callback function. This method creates new array with all the elements which are satisfying given condition in the callback function.
basic syn...
deekshithmd.hashnode.dev3 min read