From 38d6f05583d214ca9517bda85764913477e122d3 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Sat, 31 Oct 2020 10:20:08 +0530 Subject: [PATCH] element-properties - Fix typo --- docs/element-properties.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/element-properties.mdx b/docs/element-properties.mdx index cbc5bd5..98961a0 100644 --- a/docs/element-properties.mdx +++ b/docs/element-properties.mdx @@ -101,11 +101,11 @@ for (let i = 0; i < children.length; i++) { -### 2. .childNodes +### 3. .childNodes `Element.childNodes: NodeList` -This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child elements, it returns a empty NodeList. +This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child nodes, it returns a empty NodeList. This property is available on all types of `Node` - like Element, text node, etc.