运行 ❯
建立您
自己的
网站
×
改变方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <body> <h2>Global "use strict" declaration.</h2> <p>Activate debugging in your browser (F12) to see the error report.</p> <script> "use strict"; myFunction(); function myFunction() { y = 3.14; // This will cause an error (y is not defined) } </script> </body> </html>