Q. What is the code snippet to go back to a history twice?

  • (A) history(2);
  • (B) history(-2);
  • (C) history.go(-2);
  • (D) history.go(2);
πŸ’¬ Discuss
βœ… Correct Answer: (C) history.go(-2);
Explanation: The above code snippet goes back 2, like clicking the Back button twice.
Explanation by: Mr. Dubey
The above code snippet goes back 2, like clicking the Back button twice.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
165
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate