(win)
| 18 | * @param {!Window} win |
| 19 | */ |
| 20 | export function install(win) { |
| 21 | if (!win.String.prototype.startsWith) { |
| 22 | win.Object.defineProperty(win.String.prototype, 'startsWith', { |
| 23 | enumerable: false, |
| 24 | configurable: true, |
| 25 | writable: true, |
| 26 | value: startsWith, |
| 27 | }); |
| 28 | } |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected