implement.js 199 B

1234567
  1. 'use strict';
  2. if (!require('./is-implemented')()) {
  3. Object.defineProperty(String.prototype, 'endsWith',
  4. { value: require('./shim'), configurable: true, enumerable: false,
  5. writable: true });
  6. }