One of the sets of engineers asked three JavaScript questions that "could potentially be done in one line".
Sigiloso
I was able to use loops to arrive at the answers and said I knew there were ways to do it with a JavaScript method and then was able to do a quick google search to convert the solutions to use modern JavaScript array methods.