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

Function install

src/polyfills/object-values.js:16–24  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

14 * @param {!Window} win
15 */
16export function install(win) {
17 if (!win.Object.values) {
18 win.Object.defineProperty(win.Object, 'values', {
19 configurable: true,
20 writable: true,
21 value: values,
22 });
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected