Plato on Github
Report Home
node_modules/es5-ext/reg-exp/#/split/is-implemented.js
Maintainability
77.93
Lines of code
8
Difficulty
6.25
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; var re = /\|/; module.exports = function () { if (typeof re.split !== 'function') return false; return re.split('bar|foo')[1] === 'foo'; };