I have a variable that I pass into a function, and return its updated value. The syntax looks very similar to:
var myName = 'hello all.';
FuncUpperCase(myName);
function FuncUpperCase(myName) {
     myName = myName.toUpperCase();
     return myName;
}
But the variable myName doesn't seem to be modified with the value from toUpperCase().
Note: I don't want to write var newName = FuncUpperCase(myName), because I don't like that syntax.
 
     
     
     
    