To achieve the capitalization of the first letter of a given string in JavaScript, we would use three functions. charAt(); toUpperCase(); slice(). charAt():.
確定! 回上一頁