bundles/org.eclipse.orion.client.ui/web/orion/widgets/input/ComboTextInput.js
function(recentEntryArray, value) {
			var indexOfElement = -1;
			
			recentEntryArray.some(function(entry, index){
				if (entry.value === value) {
					indexOfElement = index;
					return true;
				}
				return false;
			});
			
			return indexOfElement;
		}
function(recentEntryArray, value) {
			var indexOfElement = -1;
			
			recentEntryArray.some(function(entry, index){
				if (entry.value === value) {
					indexOfElement = index;
					return true;
				}
				return false;
			});
			
			return indexOfElement;
		}
function ( recentEntryArray , value ) { var indexOfElement = - 1 ; recentEntryArray . some ( function ( entry , index ) { if ( entry . value === value ) { indexOfElement = index ; return true ; } return false ; } ) ; return indexOfElement ; }
Looks for an entry in the specified recentEntryArray with
a value that is equivalent to the specified value parameter.

@returns The index of the matching entry in the array or -1
Looks for an entry in the specified recentEntryArray with a value that is equivalent to the specified value parameter .