Zepto (India) interview question

Flatten an Array of elements using JS