Update snippet descriptions
This commit is contained in:
@ -20,5 +20,6 @@ const getAncestors = el => {
|
||||
```
|
||||
|
||||
```js
|
||||
getAncestors(document.querySelector('nav')); // [document, html, body, header, nav]
|
||||
getAncestors(document.querySelector('nav'));
|
||||
// [document, html, body, header, nav]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user