fix
This commit is contained in:
parent
5daae78137
commit
9fb235a095
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue