简单教程
提交运行
代码编辑器:
<script> person={firstname:"John",lastname:"Doe",age:50,eyecolor:"blue"} document.write(person.firstname + " is " + person.age + " years old."); </script>
运行结果: