From eb29334f34f9af15d3b2c2847074873f22db420c Mon Sep 17 00:00:00 2001 From: Paul Dariye Date: Thu, 3 Jan 2019 14:10:21 -0500 Subject: [PATCH] Update 009-scrapped-material.md Update code example for expected output --- book/009-scrapped-material.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/009-scrapped-material.md b/book/009-scrapped-material.md index 8639572c..72b3f844 100644 --- a/book/009-scrapped-material.md +++ b/book/009-scrapped-material.md @@ -83,7 +83,7 @@ nodeList.map(); // => Error: undefined is not a function const divs = Array.from(nodeList); divs.forEach( x => console.log(x)); // =>
-divs.forEach( x => console.log(x)); // => [,
] +console.log(divs.map( x => x )); // => [
] ```