Travis build: 490

This commit is contained in:
Travis CI
2017-12-29 11:40:49 +00:00
parent ae3b03e923
commit 6d573e94a9
3 changed files with 3 additions and 0 deletions

View File

@ -4100,6 +4100,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
```js
const max = (...arr) => Math.max(...[].concat(...arr);
```

View File

@ -1822,6 +1822,7 @@ Use <code>Number()</code> to check if the coercion holds.</p>
<p>Returns the maximum value out of two or more numbers/arrays.</p>
<p>Use <code>Math.max()</code> combined with the spread operator (<code>...</code>) to get the maximum value in the array.</p>
<pre><code class="language-js">
const max = (...arr) =&gt; Math.max(...[].concat(...arr);
</code></pre>
<pre><code class="language-js">max([10, 1, 5]); // 10

View File

@ -6,6 +6,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
```js
const max = (...arr) => Math.max(...[].concat(...arr);
```