linwenling
2023-10-22 cf948b62048be5f217623cc31a0d6d2680c72476
1
2
3
4
5
// 21.2.5.3 get RegExp.prototype.flags()
if (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {
  configurable: true,
  get: require('./_flags')
});