EPAM Systems Interview Question

Basic core vanila java script