(win)
| 28 | * @param {!Window} win |
| 29 | */ |
| 30 | export function install(win) { |
| 31 | if (!win.Array.prototype.includes) { |
| 32 | win.Object.defineProperty(win.Array.prototype, 'includes', { |
| 33 | enumerable: false, |
| 34 | configurable: true, |
| 35 | writable: true, |
| 36 | value: includes, |
| 37 | }); |
| 38 | } |
| 39 | } |
no outgoing calls
no test coverage detected