Merge pull request #25 from Trinityyi/patch-1

Fix error
This commit is contained in:
Angelos Chalaris
2022-08-08 09:41:07 +03:00
committed by GitHub

View File

@ -27,7 +27,7 @@ Using the spread operator, its possible to combine two or more arrays into on
```js
const arr1 = [1, 2, 3];
const arr2 = [4, 5, 6];
const combined = [...arr1, arr2];
const combined = [...arr1, ...arr2];
// [1, 2, 3, 4, 5, 6]
```