<!DOCTYPE html> <html> <body> <h1>JavaScript 字符串</h1> <h2>String.fromCharCode() 方法</h2> <p>String.fromCharCode() 方法将 Unicode 值转换为字符。</p> <p>将 65 转换为字符串:</p> <p id="demo"></p> <script> let text = String.fromCharCode(65); document.getElementById("demo").innerHTML = text; </script> </body> </html>