push(elem) {
    if (this.unique_) {
      this.assertUnique_(elem);
    }
    const n = this.getLength();
    this.insertAt(n, elem);
    return this.getLength();
  }
Insert the provided element at the end of the collection.
@param {T} elem Element.
@return {number} New length of the collection.
@api