str.charAt() var str="hellow"; sty.charAt(1) 返回的值是e toUpperCase() var str="helloow"; str.toUpperCase() 返回的值是HELLOOW