All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._fails-is-regexp.js Maven / Gradle / Ivy

The newest version!
var MATCH = require('./_wks')('match');
module.exports = function (KEY) {
  var re = /./;
  try {
    '/./'[KEY](re);
  } catch (e) {
    try {
      re[MATCH] = false;
      return !'/./'[KEY](re);
    } catch (f) { /* empty */ }
  } return true;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy