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
immosquare-cleaner-0.1.52 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.52 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/_flags.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/_flags.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/_flags.js