aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
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/reference/global_objects/json/stringify/index.html
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/reference/global_objects/json/stringify/index.html')
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html b/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
index fdc8f8d1d0..98f01ef784 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
@@ -76,7 +76,7 @@ JSON.stringify( Object.create(null, { x: { value: 'x', enumerable: false }, y: {
</pre>
-<h3 id="The_replacer_parameter"><a name="The replacer parameter"></a>The <code>replacer</code> parameter</h3>
+<h3 id="The_replacer_parameter"><a></a>The <code>replacer</code> parameter</h3>
<p>The <code>replacer</code> parameter can be either a function or an array. As a function, it takes two parameters, the key and the value being stringified. The object in which the key was found is provided as the replacer's <code>this</code> parameter. Initially it gets called with an empty key representing the object being stringified, and it then gets called for each property on the object or array being stringified. It should return the value that should be added to the JSON string, as follows:</p>
@@ -113,7 +113,7 @@ JSON.stringify(foo, replacer);
// '{"week":45,"month":7}', only keep "week" and "month" properties
</pre>
-<h3 id="The_space_argument"><a name="The space argument"></a>The <code>space</code> argument</h3>
+<h3 id="The_space_argument"><a></a>The <code>space</code> argument</h3>
<p>The <code>space</code> argument may be used to control spacing in the final string. If it is a number, successive levels in the stringification will each be indented by this many space characters (up to 10). If it is a string, successive levels will be indented by this string (or the first ten characters of it).</p>