Like everyone else, it is fully consistent with the elements of the javascript-only class.
In the example you give, an alternative to collecting these elements:
<input value="10" class="sum-this" /> <input value="20" class="sum-this" /> <input value="30" class="sum-this" />
with:
document.querySelectorAll('.sum-this'); (or $('.sum-this') in jQuery)
can collect these elements:
<input value="10" /> <input value="20" /> <input value="30" />
with:
document.querySelectorAll('input[value]');
source share