aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/strict_mode
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/javascript/reference/strict_mode
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/javascript/reference/strict_mode')
-rw-r--r--files/zh-cn/web/javascript/reference/strict_mode/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/strict_mode/index.html b/files/zh-cn/web/javascript/reference/strict_mode/index.html
index 21b45102ab..a23cbb565f 100644
--- a/files/zh-cn/web/javascript/reference/strict_mode/index.html
+++ b/files/zh-cn/web/javascript/reference/strict_mode/index.html
@@ -21,11 +21,11 @@ translation_of: Web/JavaScript/Reference/Strict_mode
<div>所以在没有对运行环境展开<strong>特性测试</strong>来验证对于严格模式相关方面支持的情况下,就算采用了严格模式也不一定会取得预期效果。严格模式代码和非严格模式代码可以共存,因此项目脚本可以渐进式地采用严格模式。</div>
-<div></div>
+
<div>严格模式对正常的 JavaScript语义做了一些更改。</div>
-<div></div>
+
<ol>
<li>严格模式通过<strong>抛出错误</strong>来消除了一些原有<strong>静默错误</strong>。</li>