Antier Solutions interview question

some question about js basics