Reading and changing the current URL.
- Category: JS BOM — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "The location Object" in one sentence, then back it up with a tiny example
// The location Object — minimal example
console.log("The location Object");Tip
Quick recall: "The location Object" — reading and changing the current URL.