SaaS Labs interview question

Convert an array into a string