Fx3 ã® MozRepl ã® search ã¡ã½ãããåããªããªã¼ã¨æã£ã¦ãã¦èª¿ã¹ãå 容ã§ãã ã¡ãªã¿ã«ä»æ§çãªãã®ãå¼ã£å¼µã£ã¦æ¥ã¦ãã¾ãããJSã¯éå¤æ¼¢ãªã®ã§èªå·±è²¬ä»»ã§ãé¡ããã¾ãï¼ã repl.search() ã®å®è£ function search(criteria, context) { context = context || this._workContext;var matcher; if (typeof criteria == "function") { matcher = criteria; } else { matcher = function (name) { return name == criteria; }; } for (var name in context) { if (matcher(name)) { this.print(name); } } } ã£
{{#tags}}- {{label}}
{{/tags}}