Update show.md

This commit is contained in:
Angelos Chalaris
2017-12-29 00:01:28 +02:00
committed by GitHub
parent 1215889c11
commit 644cd9a983

View File

@ -9,5 +9,5 @@ const show = (...el) => [...el].forEach(e => e.style.display = '');
```
```js
show(document.querySelector('img')); // Shows all <img> elements on the page
show(document.querySelectorAll('img')); // Shows all <img> elements on the page
```