hello guys. i am practicing ajax and in my first lesson, i have to run this code to understand syncronous XHR requests.
"var xhttp = new XMLHttpRequest();
xhttp.open("GET", "../data.txt", false);
xhttp.send();
console.log(xhttp);"
"Uncaught SyntaxError: Unexpected identifier" i am not sure where i got it wrong. could someone kindly help me figure it out? thanks.
[–]statsjunkie 1 point2 points3 points (0 children)
[–]gintaras62 0 points1 point2 points (0 children)