JS Array Methods
Input:
Please select the method to perform on the array:
filter()
reduce()
Output will be displayed here..