Travis build: 204

This commit is contained in:
30secondsofcode
2018-08-09 06:50:34 +00:00
parent b53c2040d4
commit 520c9b6699
2 changed files with 2 additions and 2 deletions

View File

@ -5181,7 +5181,7 @@ Returns the average of two or more numbers.
Use `Array.reduce()` to add each value to an accumulator, initialized with a value of `0`, divide by the `length` of the array.
```js
const average = (...nums) => [...nums].reduce((acc, val) => acc + val, 0) / nums.length;
const average = (...nums) => nums.reduce((acc, val) => acc + val, 0) / nums.length;
```
<details>

File diff suppressed because one or more lines are too long