Sha256: 3c1a0bdb40444d2f09054fa28b07e22520aac567adcb13d93979f3aba53ba6f2

Contents?: true

Size: 370 Bytes

Versions: 66

Compression:

Stored size: 370 Bytes

Contents

'use strict';
// 21.2.5.3 get RegExp.prototype.flags
var anObject = require('./_an-object');
module.exports = function () {
  var that = anObject(this);
  var result = '';
  if (that.global) result += 'g';
  if (that.ignoreCase) result += 'i';
  if (that.multiline) result += 'm';
  if (that.unicode) result += 'u';
  if (that.sticky) result += 'y';
  return result;
};

Version data entries

66 entries across 30 versions & 8 rubygems

Version Path
cortex-0.1.3 spec/dummy/node_modules/core-js/library/modules/_flags.js
cortex-0.1.3 spec/dummy/node_modules/core-js/modules/_flags.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/modules/_flags.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/library/modules/_flags.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/library/modules/_flags.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/modules/_flags.js