From 327506528bfdf9066c6b7e2edcf4f25f680f7bc8 Mon Sep 17 00:00:00 2001 From: Dmitry Ivonin Date: Wed, 5 Jul 2017 17:50:10 +0300 Subject: [PATCH] One mistake is corrected The mistake of double 'we' --- 6-async/02-promise-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-async/02-promise-basics/article.md b/6-async/02-promise-basics/article.md index a8f072a8..bae64b37 100644 --- a/6-async/02-promise-basics/article.md +++ b/6-async/02-promise-basics/article.md @@ -96,7 +96,7 @@ let promise = new Promise(function(resolve, reject) { The idea is that a job done by the executor may have only one result or an error. In programming, there exist other data structures that allow many "flowing" results, for instance streams and queues. They have their own advantages and disadvantages versus promises. They are not supported by JavaScript core and lack certain language features that promises provide, we don't cover them here to concentrate on promises. -Also we if we call `resolve/reject` with more then one argument -- only the first argument is used, the next ones are ignored. +Also if we call `resolve/reject` with more then one argument -- only the first argument is used, the next ones are ignored. ```` ```smart header="Reject with `Error` objects"