What is the purpose of the window.location object in JavaScript?
(a) Get the URL and redirect
(b) Get the location of the cursor
(c) Get the path to the next page
(d) Get the location & path of the next page
This question was posed to me during an interview.
I need to ask this question from Creating a Shared Configuration File using JavaScript in chapter Parsing, Benchmarking and Logging of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)