Datei_get_Contents in JavaScript
// You can use Fetch to get data.
fetch('http://example.com') // url here
.then((response) => {
return response.json(); // replace .json() to .text() for plain text
})
.then((daat) => {
console.log(daat);
});
Undefined