aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/date/index.html
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
commitded7faccb46997b20767ef9a3e6d5f5810a52cf8 (patch)
treec288f54ecd9d3a00b04b178e673967e4351f01d7 /files/zh-cn/web/javascript/reference/global_objects/date/index.html
parent60c5be764d1ae5958db85075ffe8322e9118bd5f (diff)
downloadtranslated-content-ded7faccb46997b20767ef9a3e6d5f5810a52cf8.tar.gz
translated-content-ded7faccb46997b20767ef9a3e6d5f5810a52cf8.tar.bz2
translated-content-ded7faccb46997b20767ef9a3e6d5f5810a52cf8.zip
remove dir attribute
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/index.html
index 764d868453..f2b08d51d5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/index.html
@@ -188,7 +188,7 @@ doSomethingForALongTime();
var end = new Date();
var elapsed = end.getTime() - start.getTime(); // 运行时间的毫秒值</pre>
-<pre class="brush: js" dir="ltr">// to test a function and get back its return
+<pre class="brush: js">// to test a function and get back its return
function printElapsedTime (fTest) {
var nStartTime = Date.now(),
vReturn = fTest(),