I have array

SR = [
"Als"
];

when I try

alert(SR.indexOf("Als"));

I am getting false.

How can I find whether a string is present in an array of strings using predefined functions(indexOf)?