anorgatarrak-wordpress-theme/node_modules/underscore.string/decapitalize.js

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);
};