1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +00:00
Files
mywebsite/node_modules/es5-ext/test/reg-exp/#/is-unicode.js

11 lines
242 B
JavaScript

'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");
};