\n Though Window.location is a read-only Location object, you can also assign a string to it.\n This means that you can work with location as if it were a string in most cases:\n location = ' ' is a synonym of location.href = ' '.\n
\n Though Window.location is a read-only Location object, you can also assign a string to it.\n This means that you can work with location as if it were a string in most cases:\n location = ' ' is a synonym of location.href = ' '.\n