Updated examples
Removed duplicate and unnecessary examples.
This commit is contained in:
@ -17,6 +17,5 @@ const shuffle = ([...arr]) => {
|
||||
|
||||
```js
|
||||
const foo = [1, 2, 3];
|
||||
shuffle(foo); // [2,3,1]
|
||||
console.log(foo); // [1,2,3]
|
||||
shuffle(foo); // [2,3,1], foo = [1,2,3]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user