Update show.md

This commit is contained in:
Angelos Chalaris
2017-12-29 00:01:28 +02:00
committed by GitHub
parent bf99c17371
commit 5769318dcc

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