What is a better/shorter way to write option handling in JavaScript. Instead of the following pattern?
if(typeof p_options.default_imageset !== "undefined") {
default_imageset = p_options.default_imageset;
} else {
default_imageset = 'mm';
}
Thanks.