rem: if (e.prefName[0] == "-") { console.prefs.prefBranch.clearUserPref(e.prefName.substr(1)); return true; }  
context: function cmdPref (e){    if (e.prefValue)    {        if (e.prefName[0] == "-")        {            console.prefs.prefBranch.clearUserPref(e.prefName.substr(1));            return true;        }                var type = typeof console.prefs[e.prefName];        switch (type)        {            case "number":                e.prefValue = Number(e.prefValue);                break;            case "boolean":                e.prefValue = (e.prefValue.toLowerCase() == "true");                break;            case "string":                break;            default:                e.prefValue = String(e.prefValue);                break;        }        console.prefs[e.prefName] = e.prefValue;        feedback (e, getMsg(MSN_FMT_PREFVALUE, [e.prefName, e.prefValue]));    }    else    {        var ary = console.prefManager.listPrefs(e.prefName);        if (ary.length == 0)        {            display (getMsg(MSN_ERR_UNKNOWN_PREF, [e.prefName]),                     MT_ERROR);            return false;        }        for (var i = 0; i < ary.length; ++i)        {            feedback (e, getMsg(MSN_FMT_PREFVALUE,                                [ary[i], console.prefs[ary[i]]]));        }    }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0ce31a79343e29e27a5102a1ca9099fd6e804946/venkman-commands.js/clean/extensions/venkman/resources/content/venkman-commands.js