transform a function's parameter into a string ? (JS)

Can we do that? i want to do a function that can convert his parameters into a string with quotes ...

  function modif(parameter){
    var convert = String(parameter);
    return convert;
}

modif(text);

it don't works