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 | c4576ded828eb9a5ef5f032c8f9409a7116f80a1 (patch) | |
tree | a26eb256f89eb1b8b2a9c65f1e0183509622807e /files/zh-cn/web/javascript/reference/global_objects/string | |
parent | f7b137a3dff09fb8f976140d16029ad6ec5cf2b5 (diff) | |
download | translated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.tar.gz translated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.tar.bz2 translated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.zip |
remove id attribute not in heading for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/string')
27 files changed, 54 insertions, 60 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/@@iterator/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/@@iterator/index.html index 8ea489430f..abbf9ae0b8 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/@@iterator/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/@@iterator/index.html @@ -80,7 +80,7 @@ for (var v of string) { <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -103,7 +103,7 @@ for (var v of string) { </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html index 0b3a4169cd..b48e62e0f8 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html @@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/anchor <p><code><strong>anchor()</strong></code> 方法创建一个 {{HTMLElement("a")}} HTML 锚元素,被用作超文本靶标(hypertext target)。</p> -<p id="Syntax">语法</p> +<h2>语法</h2> <pre class="syntaxbox"><code>str.anchor(<em>name</em>) </code></pre> @@ -77,7 +77,7 @@ document.body.innerHTML = myString.anchor("contents_anchor");</pre> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -100,7 +100,7 @@ document.body.innerHTML = myString.anchor("contents_anchor");</pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html index 127079b1df..e45ae963c1 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html @@ -67,7 +67,7 @@ console.log(worldString.fontsize(7)); // <fontsize=7>Hello, world</font <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -90,7 +90,7 @@ console.log(worldString.fontsize(7)); // <fontsize=7>Hello, world</font </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/blink/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/blink/index.html index 88cdb9cbf8..e423d8fbfd 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/blink/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/blink/index.html @@ -62,7 +62,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -85,7 +85,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html index 3b2c66d11a..43d6f9d448 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html @@ -9,7 +9,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/bold --- <p>{{JSRef}} {{deprecated_header}}</p> -<p id="概述"><strong><code>bold() </code></strong><code>方法会创建</code> HTML 元素 “b”,并将字符串加粗展示。</p> +<p><strong><code>bold() </code></strong><code>方法会创建</code> HTML 元素 “b”,并将字符串加粗展示。</p> <h2 id="语法">语法</h2> @@ -62,7 +62,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -85,7 +85,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/charat/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/charat/index.html index 3ed7dd0e7b..31b512ada0 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/charat/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/charat/index.html @@ -221,7 +221,7 @@ function getWholeCharAndI (str, i) { <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -244,7 +244,7 @@ function getWholeCharAndI (str, i) { </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/codepointat/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/codepointat/index.html index 567de8abc1..9a204e9c4b 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/codepointat/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/codepointat/index.html @@ -115,7 +115,7 @@ if (!String.prototype.codePointAt) { <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -138,7 +138,7 @@ if (!String.prototype.codePointAt) { </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/fixed/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/fixed/index.html index 03576dd5a1..28dd7c8696 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/fixed/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/fixed/index.html @@ -22,7 +22,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/fixed <h2 id="描述">描述</h2> -<p id="fixed()_方法将一个字符串包裹在<tt><tt>标签中,比如_<tt>str<tt>."><code style="font-size: 14px; font-style: normal; font-weight: normal; line-height: 1.5;">fixed()</code> 方法将一个字符串包裹在<tt></tt>标签中,比如: <code style="font-size: 14px; font-style: normal; font-weight: normal; line-height: 1.5;">"<tt>str</tt>"</code>.</p> +<p><code style="font-size: 14px; font-style: normal; font-weight: normal; line-height: 1.5;">fixed()</code> 方法将一个字符串包裹在<tt></tt>标签中,比如: <code style="font-size: 14px; font-style: normal; font-weight: normal; line-height: 1.5;">"<tt>str</tt>"</code>.</p> <h2 id="举例">举例</h2> @@ -60,7 +60,7 @@ console.log(worldString.fixed()); // "<tt>Hello, world</tt>" <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -83,7 +83,7 @@ console.log(worldString.fixed()); // "<tt>Hello, world</tt>" </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html index 64c397f8e7..551cb5ffa0 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html @@ -84,7 +84,7 @@ console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal' <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -107,7 +107,7 @@ console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal' </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html index b5662d12aa..005cfe0fb0 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html @@ -74,7 +74,7 @@ console.log(worldString.fontsize(7)); // <font size="7">Hello, world</f <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -97,7 +97,7 @@ console.log(worldString.fontsize(7)); // <font size="7">Hello, world</f </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/index.html index c69faea0c4..bcfc0bf5ec 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/index.html @@ -298,7 +298,7 @@ for (let i = 0, n = inputValues.length; i < n; ++i) { <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -321,7 +321,7 @@ for (let i = 0, n = inputValues.length; i < n; ++i) { </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html index 80213be40f..28f9d9a5fc 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html @@ -69,7 +69,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/indexOf "Blue Whale".indexOf("", 10) // 返回 10 "Blue Whale".indexOf("", 11) // 返回 10</pre> -<p id="Example_indexOf_and_case-sensitivity"><code>indexOf</code> 方法是区分大小写的。例如,下面的表达式将返回 <code>-1</code>:</p> +<p><code>indexOf</code> 方法是区分大小写的。例如,下面的表达式将返回 <code>-1</code>:</p> <pre class="brush: js">"Blue Whale".indexOf("blue") // 返回 -1 </pre> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/italics/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/italics/index.html index 80ee07eabc..91f574b4bf 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/italics/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/italics/index.html @@ -52,7 +52,7 @@ console.log(worldString.strike()); // <s>Hello, world</s></pre> <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -75,7 +75,7 @@ console.log(worldString.strike()); // <s>Hello, world</s></pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html index e4b6dd8681..56ba74598a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html @@ -103,7 +103,7 @@ console.log("The index of 'new' from the end is " + anyString.lastIndexOf("new") <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -126,7 +126,7 @@ console.log("The index of 'new' from the end is " + anyString.lastIndexOf("new") </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/length/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/length/index.html index c51f812f6d..9ec301ff64 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/length/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/length/index.html @@ -80,7 +80,7 @@ console.log("The empty string is has a length of " + empty.length); <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -103,7 +103,7 @@ console.log("The empty string is has a length of " + empty.length); </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html index 5f5b701e63..d93b8bebef 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html @@ -149,7 +149,7 @@ str3.match(null); // 返回["null"]</code></pre> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -172,7 +172,7 @@ str3.match(null); // 返回["null"]</code></pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/small/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/small/index.html index 7b55c68248..834ceed5ac 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/small/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/small/index.html @@ -63,7 +63,7 @@ console.log(worldString.fontsize(7)); // <font size="7">Hello, world</f <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -86,7 +86,7 @@ console.log(worldString.fontsize(7)); // <font size="7">Hello, world</f </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/strike/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/strike/index.html index 3e904a9651..12304c18cf 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/strike/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/strike/index.html @@ -59,7 +59,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -82,7 +82,7 @@ console.log(worldString.strike()); // <strike>Hello, world</strike> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/sub/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/sub/index.html index 8c47471d25..69402cb285 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/sub/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/sub/index.html @@ -64,7 +64,7 @@ console.log('This is what a ' + subText.sub() + ' looks like.'); <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -87,7 +87,7 @@ console.log('This is what a ' + subText.sub() + ' looks like.'); </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/substr/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/substr/index.html index 782816ee91..2aad2f2647 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/substr/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/substr/index.html @@ -108,7 +108,7 @@ if ('ab'.substr(-1) != 'b') <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -131,7 +131,7 @@ if ('ab'.substr(-1) != 'b') </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html index f35badbe86..445b0dfea5 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/substring/index.html @@ -138,7 +138,7 @@ replaceString("World", "Web", "Brave New World");</pre> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -161,7 +161,7 @@ replaceString("World", "Web", "Brave New World");</pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/sup/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/sup/index.html index 118bbd1f2e..15616dfc08 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/sup/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/sup/index.html @@ -63,7 +63,7 @@ console.log('This is what a ' + subText.sub() + ' looks like.'); <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -86,7 +86,7 @@ console.log('This is what a ' + subText.sub() + ' looks like.'); </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html index 95b8378bbe..c4f1025029 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html @@ -88,7 +88,7 @@ let locales = ['tr', 'TR', 'tr-TR', 'tr-u-co-search', 'tr-x-turkish']; <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -111,7 +111,7 @@ let locales = ['tr', 'TR', 'tr-TR', 'tr-u-co-search', 'tr-x-turkish']; </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolocaleuppercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolocaleuppercase/index.html index d6fe58b0a5..b1b92a19a6 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tolocaleuppercase/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolocaleuppercase/index.html @@ -83,7 +83,3 @@ let locales = ['lt', 'LT', 'lt-LT', 'lt-u-co-phonebk', 'lt-x-lietuva']; <li>{{jsxref("String.prototype.toLowerCase()")}}</li> <li>{{jsxref("String.prototype.toUpperCase()")}}</li> </ul> - -<div id="gtx-trans" style="position: absolute; left: 11px; top: 96px;"> -<div class="gtx-trans-icon"></div> -</div> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html index b1b9f6266d..f556822b2e 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html @@ -18,8 +18,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase <pre class="syntaxbox language-html" style="margin-bottom: 0px; padding: 1em; border-left-width: 6px; border-left-style: solid; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 14px; direction: ltr; white-space: normal; text-shadow: none; background-color: rgba(212, 221, 228, 0.498039);"><code class="language-html" style="font-family: Consolas, Monaco, 'Andale Mono', monospace; direction: ltr; color: inherit; text-shadow: none;">str.toLowerCase()</code> </pre> -<p id="sect1"></p> - <h3 id="返回值">返回值</h3> <p>一个新的字符串,表示转换为小写的调用字符串。</p> @@ -79,7 +77,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -102,7 +100,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tosource/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tosource/index.html index 7914776a25..756758d877 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tosource/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tosource/index.html @@ -36,7 +36,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toSource <div>{{CompatibilityTable}}</div> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -59,7 +59,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toSource </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tostring/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tostring/index.html index 192ae75b12..f8f9d021da 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/tostring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/tostring/index.html @@ -68,7 +68,7 @@ alert(x.toString()) // 输出 "Hello world"</pre> <p>{{ CompatibilityTable() }}</p> -<div id="compat-desktop"> +<div> <table class="compat-table"> <tbody> <tr> @@ -91,7 +91,7 @@ alert(x.toString()) // 输出 "Hello world"</pre> </table> </div> -<div id="compat-mobile"> +<div> <table class="compat-table"> <tbody> <tr> |