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