URL(window.location.href); code example
Example: window.href
//its actually
window.location.href = "/App/Home"
//or
window.location.href = "https://www.google.com/"
//its actually
window.location.href = "/App/Home"
//or
window.location.href = "https://www.google.com/"