编辑下面的代码:【加编码】
<html> <body> <script> person={firstname:"John",lastname:"Doe",age:50,eyecolor:"blue"} document.write(person.firstname + " is " + person.age + " years old."); </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂