Sha256: 8a22e6932b91080e8d075be3d4f97c9abbb8230db274b35e0b693d3d3f1cf20f

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var flags = require('../regexp/flags');

var RegExpPrototype = RegExp.prototype;

module.exports = function (it) {
  return (it === RegExpPrototype || isPrototypeOf(RegExpPrototype, it)) ? flags(it) : it.flags;
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/es/instance/flags.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/flags.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/flags.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/flags.js