From f5b4d1b6b31e74344387df32bd1f3fc777f526d5 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 11 Nov 2016 07:19:21 +0000 Subject: [PATCH] Fix error in docs `HTMLCollection` doesn't have querySelector method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c11ef16..fc9b233 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ const markup = ` const collection = createNode(markup); // HTMLCollection -collection.querySelector('span:last-child').textContent; +collection[1].textContent; // 'world' ```