4 ms·
That actually wouldn't work, as the response from the request would never be processed while you were looping. You can make synchronous requests already though
by sfeng 12y ago
That actually wouldn't work, as the response from the request would never be processed while you were looping.
You can make synchronous requests already though:
req = new XMLHttpRequest
req.open("some/url", "GET", false);
req.send()