title: How to check if a string contains a WORD in javascript?
body: <p>So, you can easily check if a string contains a particular substring using the .includes() method. </p>
  
  <p>I'm interested in finding if a string contains a word. </p>
  
  <p>For example, if I apply a search for "on" for the string, "phones are good", it should return false. And, it should return true for "keep it on  the table". </p>