source: trip-planner-front/node_modules/core-js/es/instance/flags.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 220 bytes
RevLine 
[6a3a178]1var flags = require('../regexp/flags');
2
3var RegExpPrototype = RegExp.prototype;
4
5module.exports = function (it) {
6 return (it === RegExpPrototype || it instanceof RegExp) && !('flags' in it) ? flags(it) : it.flags;
7};
Note: See TracBrowser for help on using the repository browser.