Multiple choice technology

How Many arguments are taken by XMLHttpRequest object's open() method

  1. 2

  2. 1

  3. 3

  4. 4

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

XMLHttpRequest's open() method takes 3 arguments: 1) HTTP method (GET/POST), 2) URL, 3) async boolean (optional but commonly used). Some implementations accept a 4th (username) and 5th (password), but 3 is the standard count.