Comments

Abdelhamid Ismail9 months ago

const solve = (charArray, strArray) => {
  return strArray.find(word => charArray.every(char => word.includes(char)))
};