EPAM Systems interview question

Data structures in JS