JSFiddle - React, Tailwind, and code Playground
JavaScript
alert($('<input type="radio" checked=""/>')[0].checked); // returns true
alert($('<input type="radio" name="foo" checked=""/>')[0].checked); // returns false
alert($('<input type="radio" checked=""/>')[0].checked); // returns true
alert($('<input type="radio" name="foo" checked=""/>')[0].checked); // returns false