is-unicode.js 242 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', 'u'); } catch (ignore) {}
  7. if (!re) return;
  8. a(t.call(re), true, "Unicode");
  9. };