alias for Object.entries.

  • Returns an array of key/values of the enumerable own properties of an object

    Type Parameters

    • T

    Parameters

    • o: { [s: string]: T } | ArrayLike<T>

      Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

    Returns [string, T][]

  • Returns an array of key/values of the enumerable own properties of an object

    Parameters

    • o: {}

      Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

    Returns [string, any][]