Plato on Github
Report Home
node_modules/es5-ext/string/#/contains/shim.js
Maintainability
89.83
Lines of code
7
Difficulty
5.33
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; var indexOf = String.prototype.indexOf; module.exports = function (searchString/*, position*/) { return indexOf.call(this, searchString, arguments[1]) > -1; };