const words: string[] = ['property', 'typescript', 'multiprocessing', 'c++', 'java', "weatherproofing"]
const result: string[] = words.filter(word => word.includes('pro'));
result.forEach(w => console.log(w))
/*
run:
property
multiprocessing
weatherproofing
*/