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:08 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitf45e9e070c93ebbd83d488bdd775987a4d75c201 (patch)
treeaacef5edaf768a188cadc46860f5b6aaa74f39ef /files/zh-tw/web/javascript/guide/working_with_objects
parent8ccfa93045a6c119303566370999f59a0aae3b25 (diff)
downloadtranslated-content-f45e9e070c93ebbd83d488bdd775987a4d75c201.tar.gz
translated-content-f45e9e070c93ebbd83d488bdd775987a4d75c201.tar.bz2
translated-content-f45e9e070c93ebbd83d488bdd775987a4d75c201.zip
fix yari h2m dry run errors
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 ec531a1004..31b9403a01 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>Using object initializers</a></h3>
+<h3 id="Using_object_initializers">Using object initializers</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>