function _forEach (array, callback) {
  const fastCallback = optimizeCallback(callback, array, name)
  deepForEach(array, fastCallback.fn, fastCallback.isUnary)
}
forEach for a multidimensional array
@param {Array} array
@param {Function} callback
@private