code: function forEach(list, iterator) {
      var isForEachSupported = ('forEach' in Array.prototype);
  
      if (isForEachSupported) {
          list.forEach(iterator);
      } else {
          for (var i = 0; i < list.length; i += 1) {
              iterator(list[i]);
          }
      }
  }
docs: Helpers.