Update show.md

This commit is contained in:
Angelos Chalaris
2018-01-08 12:42:55 +02:00
committed by GitHub
parent ffdbaf4eff
commit cd6f38d68c

View File

@ -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
```