7 lines
177 B
JavaScript
7 lines
177 B
JavaScript
![]() |
var makeString = require('./helper/makeString');
|
||
|
|
||
|
module.exports = function decapitalize(str) {
|
||
|
str = makeString(str);
|
||
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
||
|
};
|