DOM

Document.childElementCount プロパティ

 編集:2022.09.05 by T.A.

[Edge]読取専用。→

Document の子要素の数を返します。

特定の要素の子要素の数を取得する場合は、Element.childElementCount を参照してください。

Document.childElementCount

数値。

D=document.childElementCount;	//=[number]:1

テスト