JS QuerySelector temukan tanpa atribut

var test = document.querySelectorAll('input[value][type="checkbox"]:not([value=""])');
Healthy Hare