search for a specific wotd in object javascript code example
Example 1: javascript search like
let searchValue = 'usu'
let filteredNames = names.filter(name => name.includes(searchValue));
Example 2: javascript search like
let names = ['yusuf', 'sabri', 'bayrakdar'];