find by first letter array
How to Find Elements Starting with a Specific Letter in an Array
As a programmer, you may often need to find elements in an array that start with a specific letter. There are several ways you can accomplish this in JavaScript.
Method 1: Using the filter() Method
The filter() method