下面是在chrome://browser/content/browser.js, 中得代码,  25行到40.   25 [
   26   ["gBrowser",            "content"],
   27   ["gNavToolbox",         "navigator-toolbox"],
   28   ["gURLBar",             "urlbar"],
   29   ["gNavigatorBundle",    "bundle_browser"]
   30 ].forEach(function (elementGlobal) {
   31   var [name, id] = elementGlobal;
   32   window.__defineGetter__(name, function () {
   33     var element = document.getElementById(id);
   34     if (!element)
   35       return null;
   36     delete window[name];
   37     return window[name] = element;
   38   });
   39   window.__defineSetter__(name, function (val) {
   40     delete window[name];
   41     return window[name] = val;
   42   });
   43 });
   44 其中最奇怪得是他得 【】  得使用。  25行有一处这样得
【a, b, c, d].foreach(function (elementGlobal){})  这是什么用法, 在javascript得手册中没有找到,
有哪位大哥, 说说这是怎么回事。12545 function getBrowser() gBrowser;
12546 function getNavToolbox() gNavToolbox;
12547 上面得12545, 12546, 中得这种用法是怎么回事, 是什么意思啊
function getBrowser() gBrowser请高手指点