2025-06-23 23:56:31 +08:00

8 lines
140 B
XML

function getFirstCharacter(str) {
return str.toString().substring(0, 1);
}
module.exports = {
getFirstCharacter: getFirstCharacter,
};