From 9fb235a0958dc4647e8feeafbd05e506e07320c0 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 14 Mar 2019 18:56:45 +0300 Subject: [PATCH] fix --- 7-network/1-xmlhttprequest/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7-network/1-xmlhttprequest/article.md b/7-network/1-xmlhttprequest/article.md index a54b9379..c34753de 100644 --- a/7-network/1-xmlhttprequest/article.md +++ b/7-network/1-xmlhttprequest/article.md @@ -29,7 +29,7 @@ To do the request, we need 3 steps: 2. Initialize it. ```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: