Files
OpenMaopaoya/frontend-uni/node_modules/licia/capitalize.js
T

6 lines
129 B
JavaScript

exports = function(str) {
return str.charAt(0).toUpperCase() + str.substring(1).toLowerCase();
};
module.exports = exports;