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

7 lines
140 B
JavaScript

exports = function(str) {
if (str.length < 1) return str;
return str[0].toUpperCase() + str.slice(1);
};
module.exports = exports;