logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What does window.history object?


  • Correct Answer
  • The windowhistory object can be written without the window prefix To protect the privacy of the users, there are limitations to how JavaScript can access this object Some methods: historyback() - same as clicking back in the browser historyforward() - same as clicking forward in the browser 


  • Technology problems


    Search Results


    • 1. What are the different objects used in JavaScripts?
    • Discuss
    • 2. What is Javascript namespacing? How and where is it used?
    • Discuss
    • 3. How JavaScript timers work? What is a drawback of JavaScript timers?
    • Discuss
    • 4. Are javascript and jQuery different?
    • Discuss
    • 5. Does javascript have the concept level scope?
    • Discuss
    • 6. Which of the following is added to prefs.js,when open a dialog box each time an error occurs?

    • Options
    • A. user_pref("javascript.classic.error_alerts", true);
    • B. user_pref("javascript.classic.error_alerts ", false);
    • C. user_pref("javascript.console.open_on_error ", false);
    • D. user_pref("javascript.console.open_on_error ", true);
    • Discuss
    • 7. Which of the following navigator object properties is the same in both Netscape and IE?

    • Options
    • A. navigator.appCodeName
    • B. navigator.appName
    • C. navigator.appVersion
    • D. None of the above
    • Discuss
    • 8. What is mean by "this" keyword in javascript?

    • Options
    • A. It refers current object
    • B. It referes previous object
    • C. It is variable which contains value
    • D. None of the above
    • Discuss
    • 9. What does isNaN function do?
    • Discuss
    • 10. What is the difference between "==" and "==="?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment