Skip to content

Commit 9fb235a

Browse files
committed
fix
1 parent 5daae78 commit 9fb235a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

7-network/1-xmlhttprequest/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To do the request, we need 3 steps:
2929

3030
2. Initialize it.
3131
```js
32-
xhr.open(method, URL, async, user, password)
32+
xhr.open(method, URL, [async, user, password])
3333
```
3434

3535
This method is usually called first after `new XMLHttpRequest`. It specifies the main parameters of the request:

0 commit comments

Comments
 (0)