hardlounge/client/js/libs/handlebars/firstLetterUppercase.js

6 lines
112 B
JavaScript
Raw Normal View History

"use strict";
module.exports = function(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
};