@jayphelps Similar interview question I got from @fb_engineering on round 3
Interviewer: “Flatten this array”
Me: Array.flat(thisArray)
Interviewer: *looks up docs* ...well, I think this test has been dated, and +1 for staying up to spec. Now flatten it without ES6
Me: