xkcd.js
function makeGetterSetter(name) {
        xkcd[name] = function (value) {
            if (arguments.length === 0) {
                return config[name];
            }
            config[name] = value;
            return xkcd;
        };
    }
function makeGetterSetter(name) {
        xkcd[name] = function (value) {
            if (arguments.length === 0) {
                return config[name];
            }
            config[name] = value;
            return xkcd;
        };
    }
function makeGetterSetter ( name ) { xkcd [ name ] = function ( value ) { if ( arguments . length === 0 ) { return config [ name ] ; } config [ name ] = value ; return xkcd ; } ; }
Getters and setters.
Getters and setters .