Correct nodelist is not generating

On testing the not selector further, the following seems to works just fine.

const noHoliday = document.querySelectorAll(
    "article.commonclass:not(.holidayclass,.holidayclass2)"
);
console.log(noHoliday);
2 Likes