how to make 1st letter capital in ejs
snippet in javascript

how to make 1st letter capital in ejs

user8146

yourstring.replace(/\w/, c => c.toUpperCase())