javascript set selected option by text

The text property of an option is the content of the option element.. Like when I do something like sel.value = 'bike' using JavaScript the option 2 should be selected. so that this