How to make array in function with options to run. This is declaration:
$(".object").myfunction({
run1: 'spell',
run2: true
});
Here is function:
$.fn.myfunction= function() {
alert(run1);
};
How to alert the run1 or run2 from declaration ?