diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:06 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | f7b137a3dff09fb8f976140d16029ad6ec5cf2b5 (patch) | |
tree | ae0836eb0104a5870f1a87f1f3320a3d506c9e17 /files/zh-tw/web/javascript/guide/working_with_objects | |
parent | 01b0e12ba27b5069248fd09235e9a7143915ee30 (diff) | |
download | translated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.tar.gz translated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.tar.bz2 translated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.zip |
remove id attribute not in heading for zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript/guide/working_with_objects')
-rw-r--r-- | files/zh-tw/web/javascript/guide/working_with_objects/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/javascript/guide/working_with_objects/index.html b/files/zh-tw/web/javascript/guide/working_with_objects/index.html index 823f9c1e4b..44bda4c9b8 100644 --- a/files/zh-tw/web/javascript/guide/working_with_objects/index.html +++ b/files/zh-tw/web/javascript/guide/working_with_objects/index.html @@ -124,7 +124,7 @@ myCar.year = 1969</pre> <p>JavaScript has a number of predefined objects. In addition, you can create your own objects. You can create an object using an <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer">object initializer</a>. Alternatively, you can first create a constructor function and then instantiate an object invoking that function in conjunction with the <code>new</code> operator.</p> -<h3 id="Using_object_initializers"><a id="Object_initializers" name="Object_initializers">Using object initializers</a></h3> +<h3 id="Using_object_initializers"><a name="Object_initializers">Using object initializers</a></h3> <p>In addition to creating objects using a constructor function, you can create objects using an <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer">object initializer</a>. Using object initializers is sometimes referred to as creating objects with literal notation. "Object initializer" is consistent with the terminology used by C++.</p> |