How to make a function that finds all 4 letters in an array, puts them in a new one, and returns it – Javascript
Given below is the code I have written in attempt to create a function that finds all 4 letters in an array, places them onto a new one, and returns it. Whenever I tried to run the code below, it…