JavaScript Object Methods

  • Object.values() – return own enumerable property’s values of an object as an array.
  • Object.entries() – return own enumerable string-keyed property [key, value] pairs of an object.
  • Object.assign() – copy an object or merge objects.
  • Object.is() – check if two values are the same value.
  • Object.groupBy – group elements of an iterable based on values returned by a callback function.
Was this tutorial helpful ?