implement.js 208 B

12345678
  1. 'use strict';
  2. var isSticky = require('../is-sticky');
  3. if (!require('./is-implemented')()) {
  4. Object.defineProperty(RegExp.prototype, 'sticky', { configurable: true,
  5. enumerable: false, get: isSticky });
  6. }