diff options
| author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
| commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
| tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-tw/web/javascript/reference/operators | |
| parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
| download | translated-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-tw/web/javascript/reference/operators')
| -rw-r--r-- | files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html index 7326405696..c9326cffd8 100644 --- a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html +++ b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html @@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining --- <div>{{JSSidebar("Operators")}}</div> -<div></div> + <p><strong>可選串連</strong>運算子 <strong><code>?.</code></strong> 允許進行深層次的物件值存取,而無需透過明確的物件值串連驗證。<code>?.</code> 運算子的操作與 <code>.</code> 屬性存取運算子相似,後者會在參照到 <a href="/zh-TW/docs/Glossary/nullish">nullish</a> ({{JSxRef("null")}} or {{JSxRef("undefined")}}) 的值時出現錯誤,而前者可選串連則回傳 <code>undefined</code> 。 當需要存取一個函數,而這函數並不存在時,則會回傳 <code>undefined</code> 。</p> @@ -19,7 +19,7 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining <div>{{EmbedInteractiveExample("pages/js/expressions-optionalchainingoperator.html", "taller")}}</div> -<div></div> + |
