EPAM Systems interview question

Write a javascript function that transform the data then make it more clean

Interview Answer

Anonymous

31 May 2023

I wrote a function which did the job then refactored it to use reduce for better code