运行 ❯
获取您
自身
网站
×
更改方向
保存代码
更改主题,深色/浅色
转到空间
<!DOCTYPE html> <html> <body> <h1>JavScript Bigint</h1> <p>A BigInt can not have decimals.</p> <p id="demo"></p> <p>You cannot perform math between a BigInt type and a Number type.</p> <script> let x = BigInt("123456789012345678901234567890"); document.getElementById("demo").innerHTML = x; </script> </body> </html>