Multiple choice technology

The readyState property status described as 'The request has been set up',what is the possible value

  1. 0

  2. 3

  3. 1

  4. 2

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The XMLHttpRequest readyState property has 5 values: 0 (UNSENT - request not initialized), 1 (OPENED - request set up, connection opened), 2 (HEADERS_RECEIVED - headers received), 3 (LOADING - downloading), 4 (DONE - operation complete). Value 1 specifically means 'The request has been set up' as stated.