No, you’re still not operating on the correct variable.
function kungfoo(input) {
// This is valid and exactly what you want to do. The result of input.split() will be an array.
var arr = input.split(" ");
// This doesn't do anything because you're not actually calling the toUpperCase function.
// You need to assign its result back to the array, not a new variable
var output = arr[1].toUpperCase;
console.log(output); // this will output "TWO"
// You *do* need the return value of the join function, though.
// output is not an array, however. It's a string.
output.join(" "); // since this doesn't get saved to a variable, the result is thrown into the void
return output;
}
I see what you’re trying, and you’re on the right track. It can be confusing to get your head around the concept of return values, but you’re close.