javascript filter strings for partial matches code example
Example: javascript filter strings for partial matches
arr.filter(x => x.title.toLowerCase().includes(searchStr.toLowerCase()))
arr.filter(x => x.title.toLowerCase().includes(searchStr.toLowerCase()))