is-sticky.js 241 B

12345678910
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. var re;
  4. a(t.call(/raz/), false, "Normal");
  5. a(t.call(/raz/g), false, "Global");
  6. try { re = new RegExp('raz', 'y'); } catch (ignore) {}
  7. if (!re) return;
  8. a(t.call(re), true, "Sticky");
  9. };