Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     history(2);

    B.

     history(-2);

    C.

     history.go(-2);

    D.

     history.go(2);

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The above code snippet goes back 2, like clicking the Back button twice.


Be The First To Comment