Travis build: 637

This commit is contained in:
30secondsofcode
2018-10-11 12:09:31 +00:00
parent 53fea89c85
commit 60e4d3895f
2 changed files with 2 additions and 2 deletions

View File

@@ -2324,7 +2324,7 @@ remove([1, 2, 3, 4], n => n % 2 === 0); // [2, 4]
Returns a random element from an array.
Use `Math.random()` to generate a random number, multiply it by `length` and round it of to the nearest whole number using `Math.floor()`.
Use `Math.random()` to generate a random number, multiply it by `length` and round it off to the nearest whole number using `Math.floor()`.
This method also works with strings.
```js