Travis build: 492
This commit is contained in:
@ -4102,6 +4102,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const max = (...arr) => Math.max(...[].concat(...arr);
|
const max = (...arr) => Math.max(...[].concat(...arr);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -1824,6 +1824,7 @@ Use <code>Number()</code> to check if the coercion holds.</p>
|
|||||||
<pre><code class="language-js">
|
<pre><code class="language-js">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const max = (...arr) => Math.max(...[].concat(...arr);
|
const max = (...arr) => Math.max(...[].concat(...arr);
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<pre><code class="language-js">max([10, 1, 5]); // 10
|
<pre><code class="language-js">max([10, 1, 5]); // 10
|
||||||
|
|||||||
@ -8,6 +8,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const max = (...arr) => Math.max(...[].concat(...arr);
|
const max = (...arr) => Math.max(...[].concat(...arr);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user