I'd like to run an IF statement whereby it runs if any one of a series of specific class names exist on the page somewhere. I currently have this method, but when the script runs, it only pays attention to the first class name in the list and then ignores the rest.
if (document.querySelector('.class_a'||'.class_b'||'.class_c')) { // do stuff }
Any ideas on how I can execute this fairly simple command please?