(function(){window.location.href= 'www.baidu.com'alert('23')console.log(123)}())為什么先彈出123 再console呢? 在ajax中也是,window.location.href 不跳轉?求解這里面是有什么機制嗎?
window.location.href有什么機制嗎?
千萬里不及你
2018-08-23 21:54:19