W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <body> <script type="text/javascript"> var str="Hello world!" document.write("The Unicode for the first character is: " + str.charCodeAt(0) + "<br />") document.write("The Unicode for the second character is: " + str.charCodeAt(1) + "<br />") document.write("The Unicode for the third character is: " + str.charCodeAt(2)) </script> </body> </html>