diff --git a/zy1.html b/zy1.html index 6de9e2e0411ef221748037494ea780678aeefffe..6c32b9db7c9de2b7728abaa77585aaf2c20342fa 100644 --- a/zy1.html +++ b/zy1.html @@ -1,17 +1,20 @@ +
-创建JavaScript对象。
+ \ No newline at end of file diff --git a/zy10.html b/zy10.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/zy11.html b/zy11.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/zy12.html b/zy12.html new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/zy2.html b/zy2.html index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d88ee3f706a0008230764c8a7720952d3df1785b 100644 --- a/zy2.html +++ b/zy2.html @@ -0,0 +1,21 @@ + + + + + + + +创建JavaScript对象。
+ + + + + \ No newline at end of file diff --git a/zy3.html b/zy3.html new file mode 100644 index 0000000000000000000000000000000000000000..5fb6c4023283bb879fd0a0269b1a4cf9d06cbb16 --- /dev/null +++ b/zy3.html @@ -0,0 +1,21 @@ + + + + + + + +有两种方式可以访问对象属性:
+你可以使用.property或["property"].
+ + + + + \ No newline at end of file diff --git a/zy4.html b/zy4.html new file mode 100644 index 0000000000000000000000000000000000000000..f1a275815b5f327eda7fed60915d4705c8ae1f09 --- /dev/null +++ b/zy4.html @@ -0,0 +1,23 @@ + + + + + + + +创建和使用对象方法。
+对象方法作为一个函数定义存储在对象属性中。
+ + + + + \ No newline at end of file diff --git a/zy5.html b/zy5.html new file mode 100644 index 0000000000000000000000000000000000000000..20241d89570ca3c764f4c3e36958bc2e9fd015b6 --- /dev/null +++ b/zy5.html @@ -0,0 +1,26 @@ +创建和使用对象方法。
+对象方法是一个函数定义,并作为一个属性值存储。
+ + + + + +