实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <title>Dynamic Properties Example 1</title>
5
    <script type="text/javascript">
6
        var person = new Object();
7
        person.name = "Nicholas";
8
        alert(person.name);    //"Nicholas"
9
10
    </script>
11
</head>
12
<body>
13
14
</body>
15
</html>