BuyHatke interview question

Questions on JavaScript