Jaka jest różnica między window.location.assign(url)
i window.open(url, '_self')
?Różnica między window.location.assign (url) i window.open (url, "_self")
Powiązane pytania:
- Difference between window.location.assign() and window.location.replace()
- What's the difference between window.open(url) and window.location.href = url on Firefox?
Na co odpowiedzi nie odpowiedziano dla Ciebie? https://developer.mozilla.org/en-US/docs/Web/API/Location/assign vs https://developer.mozilla.org/en-US/docs/Web/API/Window/open – mplungjan