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

Function install

src/polyfills/object-assign.js:34–43  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

32 * @param {!Window} win
33 */
34export function install(win) {
35 if (!win.Object.assign) {
36 win.Object.defineProperty(win.Object, 'assign', {
37 enumerable: false,
38 configurable: true,
39 writable: true,
40 value: assign,
41 });
42 }
43}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected