var funcname = 'trace'; var theFunction = eval(funcname); var params = "Hello variable-functions!"; theFunction(params);