async function fetchText() { let response = await fetch('/readme.txt'); let data = await response.text(); console.log(data); }Code language: JavaScript (javascript)