aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web
diff options
context:
space:
mode:
authorElan Bin <yhbflydream@gmail.com>2021-07-13 14:15:22 +0800
committerGitHub <noreply@github.com>2021-07-13 14:15:22 +0800
commit501ab787555f6c65492ee40d2f5e097ecdbe3e3d (patch)
tree77c9296b010964d735ccf8a48dc47cc4368c71e3 /files/zh-cn/web
parent7bfcdc4bf04fb501226ee41d36d1b00dec079c13 (diff)
downloadtranslated-content-501ab787555f6c65492ee40d2f5e097ecdbe3e3d.tar.gz
translated-content-501ab787555f6c65492ee40d2f5e097ecdbe3e3d.tar.bz2
translated-content-501ab787555f6c65492ee40d2f5e097ecdbe3e3d.zip
Fix Web/JavaScript/Reference/Operators/instanceof, zh-CN (#1517)
the pre label used 'dir="rtl"' attribute, cause code written from the right to the left
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/instanceof/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/instanceof/index.html b/files/zh-cn/web/javascript/reference/operators/instanceof/index.html
index 1cd33e380f..a1e3c5a538 100644
--- a/files/zh-cn/web/javascript/reference/operators/instanceof/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/instanceof/index.html
@@ -113,7 +113,7 @@ myDate instanceof String; // 返回 false</pre>
<p>下面的代码创建了一个类型 <code>Car</code>,以及该类型的对象实例 <code>mycar</code>. <code>instanceof</code> 运算符表明了这个 <code>mycar</code> 对象既属于 <code>Car</code> 类型,又属于 <code>Object</code> 类型。</p>
-<pre class="brush: js notranslate" dir="rtl">function Car(make, model, year) {
+<pre class="brush: js notranslate">function Car(make, model, year) {
this.make = make;
this.model = model;
this.year = year;