Travis build: 598

This commit is contained in:
Travis CI
2017-12-29 13:17:10 +00:00
parent cf2fd804b8
commit 7438846e36
2 changed files with 2 additions and 12 deletions

View File

@ -2573,12 +2573,7 @@ Returns the maximum value out of two or more numbers/arrays.
Use `Math.max()` combined with the spread operator (`...`) to get the maximum value in the array.
```js
const max = (...arr) => Math.max(...[].concat(...arr);
const max = (...arr) => Math.max(...[].concat(...arr));
```
<details>

View File

@ -1216,12 +1216,7 @@ lcm([1, 3, 4], 5); // 60
</div></div><br/><div class="card fluid"><div class="section double-padded"><h3 id="max">max</h3></div><div class="section double-padded">
<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);
<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
</code></pre>