aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/guide/working_with_objects
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit12a899ab8540bc84f56a0dc6491be80a48499d49 (patch)
tree45921c6cb67169c837b9bc73b56f469a7c1c24bf /files/zh-tw/web/javascript/guide/working_with_objects
parent563ca0a35e98678e2b7d5f154f31f496851e8d60 (diff)
downloadtranslated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.tar.gz
translated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.tar.bz2
translated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.zip
remove name attribute 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.html2
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 a2d3674365..ec531a1004 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 name="Object_initializers">Using object initializers</a></h3>
+<h3 id="Using_object_initializers"><a>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>