I am running into an issue, I have a similar array of Strings in JS:
var myArray = ["bedroomone", "bedroomonetwo", "bathroom"];
And I would like to retrieve all the elements in the array that contains the keyword 'bedroom'. How can I achieve such result ?
I tried in different ways without getting the desired result. How should I proceed ?