Basic Interview Question On Javascript