Antier interview question

some question about js basics