JSFiddle - React, Tailwind, and code Playground

HTML

<form name="test"></form>

JavaScript

document.write(document.forms[0] === document.forms["test"] && document.forms["test"] === document.forms.test);