I want to select all the elements that have the two classes a and b.
a
b
So, only the e
Vanilla JavaScript solution:-
document.querySelectorAll('.a.b')