Khi bạn cần update tên người, danh từ ..
var str = "phong" var capitalizedStr = str.charAt(0).toUpperCase() + str.slice(1); // <- "Phong"