Using an Angular application which inserts ‘ng-star-inserted‘ to every node element. I need to check if the target element class exists inside array
var footerElementClassList = [
'footer-links__link',
'social__link-icon',
'bottom__link',
];
const filtered = footerElementClassList.includes('bottom__link ng-star-inserted');
console.log(filtered);
Tried below options but no luck