Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

regexp-flags.js 485B

12345678910111213141516
  1. 'use strict';
  2. var anObject = require('../internals/an-object');
  3. // `RegExp.prototype.flags` getter implementation
  4. // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
  5. module.exports = function () {
  6. var that = anObject(this);
  7. var result = '';
  8. if (that.global) result += 'g';
  9. if (that.ignoreCase) result += 'i';
  10. if (that.multiline) result += 'm';
  11. if (that.dotAll) result += 's';
  12. if (that.unicode) result += 'u';
  13. if (that.sticky) result += 'y';
  14. return result;
  15. };