var str = '天气'; var str1 = '天qr'; console.log( str.charCodeAt() ); //22825 console.log( str1.charCodeAt() ); let a = "2004-10-10"<"2004-10-11"; console.log(a);