Plato on Github
Report Home
node_modules/es5-ext/string/#/starts-with/is-implemented.js
Maintainability
76.49
Lines of code
9
Difficulty
8.25
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; var str = 'razdwatrzy'; module.exports = function () { if (typeof str.startsWith !== 'function') return false; return ((str.startsWith('trzy') === false) && (str.startsWith('raz') === true)); };