📜  javascript onclick 打开 url 相同的窗口 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:27.745000             🧑  作者: Mango

代码示例1
/* FIRST WAY*/
window.open("instagram.com/9_tay", "_self")
/* SECOND WAY*/
window.location.href = "instagram.com/9_tay"
/* THEARD WAY*/
window.location.replace("instagram.com/9_tay")