JSFiddle - React, Tailwind, and code Playground

HTML

<h1>jQuery Bug 6554 Evaluation</h1>
<br>
<input type="text" value="hellojQuery">

JavaScript

var test1 = $("input[value='hellojQuery']").length;
var test2 = $(':text[value="hellojQuery"]').length;

$('body').append('<br>Test1:' + test1 + '<br>' + 'Test2:' + test2);