summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/reg-exp/#/unicode/implement.js
blob: 5a82a4d1d23386d67efa3159de9993a973c1735e (plain)
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 });
}