Files
zyt/TongjiUniApp/node_modules/licia/upperFirst.js
T
2026-10-22 11:12:16 +08:00

7 lines
140 B
JavaScript
Executable File

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