JSFiddle - React, Tailwind, and code Playground

HTML

<svg></svg>

JavaScript

alert(document.getElementsByTagName("svg")[0].children);