Yngvarr

Generation

generate functionThu, 06 Apr 2023

get html document

function getHTML(url) { return fetch(url) .then(data => data.text()) } getHTML('https://google.com')

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant