docs: function getEntriesFromIterable(collection) {
    if (isFunction(Array.from)) {
      return Array.from(collection.entries());
    }
  
    let entries = [];
  
    collection.forEach((value, key) => {
      entries.push([key, value]);
    });
  
    return entries;
  }