spec/lib/jspec.js
function(key) {
       return (value = query(key)) !== null ? value :
                JSpec.options[key] || null
     }
function(key) {
       return (value = query(key)) !== null ? value :
                JSpec.options[key] || null
     }
function ( key ) { return ( value = query ( key ) ) !== null ? value : JSpec . options [ key ] || null }
Get option value. This method first checks if
the option key has been set via the query string,
otherwise returning the options hash value.

@param  {string} key
@return {mixed}
@api public
Get option value . This method first checks if the option key has been set via the query string otherwise returning the options hash value .