Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-21 21:54:53 +03:00
parent 47276ac092
commit ce48fffb4d
41 changed files with 171 additions and 110 deletions

View File

@ -5,7 +5,7 @@ tags: browser,array,beginner
Converts a `NodeList` to an array.
- Use spread operator inside new array to convert a `NodeList` to an array.
- Use spread operator (`...`) inside new array to convert a `NodeList` to an array.
```js
const nodeListToArray = nodeList => [...nodeList];