Plato on Github
Report Home
node_modules/es5-ext/test/reg-exp/#/is-unicode.js
Maintainability
64.34
Lines of code
10
Difficulty
8.16
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
'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"); };