Fix typos: JS intermediate algorithm guide (#34874)
* Typo: JS Algorithm missing-letters * Fix typo: Broken link syntax * Fix typo: missing bracket * Remove duplicate link/info
This commit is contained in:
committed by
Randell Dawson
parent
33edc072b9
commit
d331ad1fcd
@ -185,9 +185,8 @@ uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
|
||||
|
||||
### Code Explanation:
|
||||
|
||||
* We first use `concat()` with an empty array `<a href='http://exploringjs.com/es6/ch_maps-sets.html#_set' target='_blank' rel='nofollow'>]` as a starting point and the spread operator `...` to create an array out of the Arguments object and to flatten it at the same time
|
||||
* We first use `concat()` with an empty array as a starting point and the spread operator `...` to create an array out of the Arguments object and to flatten it at the same time
|
||||
* then we use the new ES2015 **Set** object to store only unique values
|
||||
* (to learn more about Sets, read [here</a>)
|
||||
|
||||
#### Relevant Links
|
||||
|
||||
|
Reference in New Issue
Block a user