EPAM Systems interview question

all in depth javascript question