<reponame>Silveeny/TwitterSocial-Battle<filename>frontend/node_modules/fbjs/node_modules/core-js/modules/$.flags.js<gh_stars>0'use strict';
// 172.16.31.10 get RegExp.prototype.flags
var anObject = require('./$.an-object');
module.exports = function(){
  var that   = anObject(this)
    , 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;
};