window.location.assign("some_url") vs window.location.href = "some_url"Functionally there is no difference between these two methods for loading a new document ([source](https://stackoverflow.com/questions/10302905/location-href-property-vs-location-assign-method)).
It has been mentioned that using
window.location.href = "some_url" may be slightly more performant because setting a property value uses fewer resources than invoking a function, eg
In both of these cases a new document will be loaded and the browser history will be preserved so clicking the back button in the browser will take the user back the the previous page they came from. The document will be opened in the same browser window the user came from.
window.location.replace("some_url")This function will open a new document. The document will be opened in the same browser window the user came from. The difference here is the history will be reset so clicking the back button in the browser will not take the user back to the previous page.
window.open("some_url")This function will open the new document in a new browser window.