I have a simple if statement as such:
if ($(\'html\').hasClass(\'m320\')) { // do stuff }
This works as expected. However, I want to add
This is in case you need both classes present. For either or logic just use ||
$('el').hasClass('first-class') || $('el').hasClass('second-class')
Feel free to optimize as needed