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 )); // => [
] ```