Code should return a string not log it

I’m not really sure why I’m getting this error message when I try to submit this exercise. It’s literally saying exactly what it needs to.

Can anyone point out what I may have done wrong?

Perhaps try logging the return value at the caller, not in the function. Eg.

return `You will be ${newAge} in the year ${year}`;

You guys are too smart

2 Likes