Find Matching value in Array and print on all the matching value via forEach Loop
In this particular topic i am using two new things Array.from(), includes() and forEach() loop function to archive this kind of amazing ๐๐๐ฅstuff..
let ourClientsDomain = ['www.mahishadal.com','www.tvbangla.co.in','www.bengalnewsnetwork.com', 'wwww.bangaloremedical.in','www.ecodedesign.com'];
Array.from(ourClientsDomain).forEach((ele) => {
if(ele.includes('.com')){
console.log(`${ele}`);
}
})
