rem: for (var i in this.commands) 
add: /* a command named "eval" wouldn't show up in the result of keys() because * eval is not-enumerable, even if overwritten. */ if ("eval" in this.commands && typeof this.commands.eval == "object") commandNames.push ("eval");  for (var i in commandNames) 
context: function cmgr_list (partialName){    /* returns array of command objects which look like |partialName|, or     * all commands if |partialName| is not specified */    if ((typeof partialName == "undefined") ||        (String(partialName) == ""))        return this.commands;    var ary = new Array();    for (var i in this.commands)    {        if (this.commands[i].name.indexOf(partialName) == 0)                ary.push (this.commands[i]);    }    return ary;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/3df45f52a2f3a304b5c3c14817a3c2c3cbfc6921/command-manager.js/buggy/js/lib/command-manager.js