summaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/es6.regexp.flags.js
blob: 5984c2143410325f6865abd885f2ec1702c178ce (plain)
1
2
3
4
5
6
// 21.2.5.3 get RegExp.prototype.flags()
var $ = require('./$');
if(require('./$.descriptors') && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {
  configurable: true,
  get: require('./$.flags')
});