,,,& lt; !——类型,字符集,在
& lt;脚本type=" text/javascript " charset=皍tf - 8”祝辞,
//浏览器对象window
窗口。警报(“hello world”);
//文档对象
document . write(“我是第一个程序”)
//把内容打印到控制台
console.info (“hello world”);
& lt;/script>
,,,& lt; !——类型,字符集,在
& lt;脚本type=" text/javascript " charset=皍tf - 8”祝辞,
//浏览器对象window
窗口。警报(“hello world”);
//文档对象
document . write(“我是第一个程序”)
//把内容打印到控制台
console.info (“hello world”);
& lt;/script>