# promise相關 ## 非同步時間 就算你setimeout 0秒 一樣到最下面 只要非同步的事情都會到最下面  ## axios axios支援比fetch高 res的資料在 data裡面 error如果直接log 會找不到 要console.log(error.response) x-requested-with 请求头 区分ajax请求还是普通请求 https://blog.csdn.net/jokeMqc/article/details/78739677 ## js fetch ## get  button submit input name search method get 三個關鍵 ###### tags: `javaScript`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up