I was reading about
send method of
XMLHttpRequest on mdn web docs.
I could'nt understand what does "result is delivered using events mean"
If the request is asynchronous (which is the default), this method returns as soon as the request is sent and the result is delivered using events. If the request is synchronous, this method doesn't return until the response has arrived.