my-idlers/node_modules/es5-ext/string/#/ends-with/implement.js

11 lines
203 B
JavaScript
Raw Normal View History

"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(String.prototype, "endsWith", {
value: require("./shim"),
configurable: true,
enumerable: false,
writable: true
});
}