platform/video.videojs/dist/video.es.js
function each(object, fn) {
  keys(object).forEach(function (key) {
    return fn(object[key], key);
  });
}
function each(object, fn) {
  keys(object).forEach(function (key) {
    return fn(object[key], key);
  });
}
Array-like iteration for objects.

@param {Object} object
The object to iterate over

@param {obj:EachCallback} fn
The callback function which is called for each key in the object.