implement.js 208 Bytes edit raw blame history 1 2 3 4 5 6 7 8 'use strict'; var isSticky = require('../is-sticky'); if (!require('./is-implemented')()) { Object.defineProperty(RegExp.prototype, 'sticky', { configurable: true, enumerable: false, get: isSticky }); }