RUNOOB.COM
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <script> function myFunction(){ return ("Hello world!"); } </script> </head> <body> <script> document.write(myFunction()) </script> </body> </html>
运行结果