📅  最后修改于: 2022-03-11 15:04:02.430000             🧑  作者: Mango
async function fetchText() {
let response = await fetch('/readme.txt');
let data = await response.text();
console.log(data);
}Code language: JavaScript (javascript)