Update article.md

"Passing it "as it" won't work". I suppose u meant: "Passing it "as IS" won't work".
This commit is contained in:
Сoriander 2018-04-06 19:04:11 +03:00 committed by GitHub
parent 62a0bb597f
commit dea088d3f9
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? 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 ```js run
let arr = [3, 5, 1]; let arr = [3, 5, 1];