From c2bc44dbcf1f02e37efaa75b689a4b869eee1582 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 23 Jul 2021 04:55:29 -0600 Subject: [PATCH] docs: up to 31% more feature coverage --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8689551..c934274 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ const div1 = $("div", body); Selects all matching elements (or an empty `NodeList`): ```js -const stylesheets = $$('link[rel="stylesheet"]').map(console.log); +const head = $('head'); +const stylesheets = $$('link[rel="stylesheet"]', head).map(console.log); ``` ## Compatibility