Confirm the Ending (whats wrong qith my code?)

my code works on:
confirmEnding(“He has to give me a new name”, “name”) should return true.
confirmEnding(“Open sesame”, “same”) should return true.
confirmEnding(“Open sesame”, “pen”) should return false.
confirmEnding(“If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing”, “mountain”) should return false.

but my code doesnt work on:
confirmEnding(“Walking on water and developing software from a specification are easy if both are frozen”, “specification”) should return false.

function confirmEnding(str, target) {
// “Never give up and good luck will find you.”
// – Falcor
var newStr= str.split("").reverse();
var NeWStr= target.split("").reverse();
var i;
for (i=0; i < NeWStr.length; i++)

return NeWStr[i]===newStr[i];
}

confirmEnding(“Walking on water and developing software from a specification are easy if both are frozen”, “specification”);

sorry everyone i just realized my mistake xD