SyntaxFix
Write A Post
Hire A Developer
Questions
function myFunction(arg) { alert(arg.var1 + ' ' + arg.var2 + ' ' + arg.var3); } myFunction ({ var1: "Option 1", var2: "Option 2", var3: "Option 3" });