Update show.md
This commit is contained in:
@ -9,5 +9,5 @@ const show = (...el) => [...el].forEach(e => (e.style.display = ''));
|
||||
```
|
||||
|
||||
```js
|
||||
show(document.querySelectorAll('img')); // Shows all <img> elements on the page
|
||||
show(...document.querySelectorAll('img')); // Shows all <img> elements on the page
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user