is-unicode.js 242 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 'use strict'; module.exports = function (t, a) { var re; a(t.call(/raz/), false, "Normal"); a(t.call(/raz/g), false, "Global"); try { re = new RegExp('raz', 'u'); } catch (ignore) {} if (!re) return; a(t.call(re), true, "Unicode"); };