i am trying to write a JavaScript function that takes the parameters and assigns parameter value to a variable...how to do this...
here is what i have tried.....
function getTextWidth(text, fontname, fontsize) () {
var one = text;
var two = fontname;
var three = fontsize;
});
is this correct?