10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
|
"use strict";
|
||
|
|
||
|
if (!require("./is-implemented")()) {
|
||
|
Object.defineProperty(Array.prototype, "findIndex",
|
||
|
{ value: require("./shim"),
|
||
|
configurable: true,
|
||
|
enumerable: false,
|
||
|
writable: true });
|
||
|
}
|