Bacancy interview question

technical question about javascript