Hello,
Looking for some feedback on my solution to task 3 on this skill test https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Test_your_skills:_Functions
I’m not sure that I understood the instructions…I was basically trying to narrow down the possible names that were randomly generated. My function now prints one of the first 2 or last 2 names in the array, but is this what the task was asking for? And if so are there better ways to go about it?https://codepen.io/bryrosh27/pen/yLOJrvb
Thanks!