Merge pull request #421 from carbonid1/patch-2

Update article.md
This commit is contained in:
Ilya Kantor 2018-06-06 23:28:39 +03:00 committed by GitHub
commit df8e16429a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ alert( Math.max(3, 5, 1) ); // 5
Now let's say we have an array `[3, 5, 1]`. How do we call `Math.max` with it?
Passing it "as it" won't work, because `Math.max` expects a list of numeric arguments, not a single array:
Passing it "as is" won't work, because `Math.max` expects a list of numeric arguments, not a single array:
```js run
let arr = [3, 5, 1];