Amdocs interview question

Core and advance Javascript