Created
May 20, 2021 03:03
-
-
Save qunwang6/a06e804943a398c9e4515c7cdfe59b6f to your computer and use it in GitHub Desktop.
Revisions
-
qunwang6 created this gist
May 20, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ let resp = await fetch('http://baidu.com') if (resp.ok) { console.log(await resp.text()) }