Pergunta de entrevista da empresa Sera Systems

How to loop through an object and flatten any arrays found.