日期:2014-05-16 浏览次数:20396 次
<script type="text/javascript">
var myObject = new Object();
myObject.sitename = "布啦布啦";
myObject.siteurl = "blabla.cn";
myObject.sitecontent = "网页教程代码图库的中文站点";
for (prop in myObject)
{
document.write("属性 '" + prop + "':" + myObject[prop]);
document.write("<br>");
}
</script>