This commit is contained in:
Ilya Kantor 2019-03-14 18:56:45 +03:00
parent 5daae78137
commit 9fb235a095

View file

@ -29,7 +29,7 @@ To do the request, we need 3 steps:
2. Initialize it. 2. Initialize it.
```js ```js
xhr.open(method, URL, async, user, password) xhr.open(method, URL, [async, user, password])
``` ```
This method is usually called first after `new XMLHttpRequest`. It specifies the main parameters of the request: This method is usually called first after `new XMLHttpRequest`. It specifies the main parameters of the request: