21 Day Coding Challenge

Challenge 20 not working

#1

function decodeMessage(message)
{
var res=message.split(" “);
for(var i=0;i<res.length;i++)
{
res[i]=res[i].replace(“1”,‘i’).replace(“3”,“e”).replace(“0”,“o”).replace(“4”,“a”).replace(“5”,“y”).replace(“2”,“u”).replace(“1d”,“ld”);
}
message=res.join(” ");
return message;
}

what am i missing

#2

Try
return res.join(’’);
reassigning res join to message might cause problems.

#3

Thanks .thats wasn’t the problem I used join(" "); instead of join(’ ') and that’s what caused the problem