var word = "Someword";
console.log( word[0] === word[0].toUpperCase() );
or
var word = "Someword";
console.log( /[A-Z]/.test( word[0]) );
or
var word = "Someword";
console.log( /^[A-Z]/.test( word) );
See toUpperCase()
and test()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…