Mutations - Why this is not working?

Tell us what’s happening:

Why this is not working ?

Your code so far

function mutation(arr) {
  var word1 = arr[0].toLowerCase;
  var word2 = arr[1].toLOwerCase;
  for (var i=0;i<word2.length;i++){
    var value = word1.indexOf(word2[i]);
    if (value === -1){
      return false;
    return true;

mutation(["hello", "hey"]);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36.

Link to the challenge:

Your first issue is that you are calling “toLOwerCase” when you define word2.

Swap the capital “O” for a lower case one, and the tests will run.

It still won’t pass, but it will get further.

Your second issue is that you aren’t actually calling “toLowerCase” at all. You’re just mentioning it. Remember, to get a function to run, you have to use () at end of it.

ooo yeah… i got it now
Thank You