AJAX: Quiz

AJAX is a great tool to have under your belt! Let's test how much you know about it in this lesson.

1

Consider the following code:

var xhttp = new XMLHttpRequest();
xhttp.open("GET", "results.txt", true);

Will the request be sent asynchronously?

A)

AJAX requests are always sent asynchronously.

B)

Yes, because of the true argument in open().

C)

No

Question 1 of 60 attempted

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.