From cd6f38d68c722cceedc4b62722ff7194161b5b87 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Mon, 8 Jan 2018 12:42:55 +0200 Subject: [PATCH] Update show.md --- snippets/show.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/show.md b/snippets/show.md index cf30be9b7..6b97deb2f 100644 --- a/snippets/show.md +++ b/snippets/show.md @@ -9,5 +9,5 @@ const show = (...el) => [...el].forEach(e => (e.style.display = '')); ``` ```js -show(document.querySelectorAll('img')); // Shows all elements on the page +show(...document.querySelectorAll('img')); // Shows all elements on the page ```