MCPcopy Create free account
hub / github.com/ampproject/amphtml / values

Function values

src/polyfills/object-values.js:8–10  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

6 * @return {!Array<*>}
7 */
8export function values(target) {
9 return Object.keys(target).map((k) => target[k]);
10}
11
12/**
13 * Sets the Object.values polyfill if it does not exist.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected