code: function from(collection) {
    const result = [];
    const length = collection.length;
    let idx = -1;
    while (++idx < length) {
      result[idx] = collection[idx];
    }
    return result;
  }
docs: returns a copy of the collection with array type.
  @param {Collection} collection - collection eg) node.childNodes, ...