I am trying to search for exact string/word within a string/sentence with includes() and I want it to return true if it does. But I get returned "true" even if word matches part of a bigger word. How do I approach searching for exact match? I realize that includes() is case sensetive but I want it to be length sensitive so to say, I understand I should probably somehow define what a word in a string for js is but not sure how to do it with includes(). Thanks
var sentence = 'The quick brown fox jumps over the lazy dog.';
var word = 'own';
console.log(`The word "${word}" ${sentence.includes(word)? 'is' : 'is not'} in the sentence`);
// wanted output: "The word "own" is not in the sentence"
// real output: "The word "own" is in the sentence"