JSFiddle - React, Tailwind, and code Playground

HTML

<input type="radio" value="1" />

JavaScript

for ( var sel in {
    "input[type='radio'][value='1']" : 1,
    "input[type=radio][value='1']" : 1,
    "input[type=radio][value=1]" : 1,
    "input:radio[value='1']" : 1,
    "input:radio[value=1]" : 1
} ) {
    var res;
    try {
       res = $(sel).length;
    } catch (err ) {
       res = String(err);
    }
    console.log(sel+" --> "+res);
}