Plato on Github
Report Home
node_modules/es5-ext/string/#/hyphen-to-camel.js
Maintainability
92.83
Lines of code
8
Difficulty
4.50
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; var replace = String.prototype.replace , re = /-([a-z0-9])/g , toUpperCase = function (m, a) { return a.toUpperCase(); }; module.exports = function () { return replace.call(this, re, toUpperCase); };