diff options
author | SKY ZHAO <boyzhaotian@hotmail.com> | 2021-04-02 09:42:24 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2021-04-14 18:12:53 +0800 |
commit | 656f5d2f0dae82bc66f2c22172c65b36cf68f6cc (patch) | |
tree | 582f66d3e7b3cc2d517b640c7ee54759cde7871a /files/zh-cn/web/javascript/reference | |
parent | 5c179884f4c6896e50980d3039250447c092026a (diff) | |
download | translated-content-656f5d2f0dae82bc66f2c22172c65b36cf68f6cc.tar.gz translated-content-656f5d2f0dae82bc66f2c22172c65b36cf68f6cc.tar.bz2 translated-content-656f5d2f0dae82bc66f2c22172c65b36cf68f6cc.zip |
Update index.html
Correct some sentence
Diffstat (limited to 'files/zh-cn/web/javascript/reference')
-rw-r--r-- | files/zh-cn/web/javascript/reference/operators/void/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/void/index.html b/files/zh-cn/web/javascript/reference/operators/void/index.html index b67110459a..459a36a057 100644 --- a/files/zh-cn/web/javascript/reference/operators/void/index.html +++ b/files/zh-cn/web/javascript/reference/operators/void/index.html @@ -40,7 +40,7 @@ translation_of: Web/JavaScript/Reference/Operators/void <h2 id="JavaScript_URIs">JavaScript URIs</h2> -<p>当用户点击一个以 <code>javascript:</code> URI 时,它会执行URI中的代码,然后用返回的值替换页面内容,除非返回的值是{{jsxref("Global_Objects/undefined", "undefined")}}。<code>void</code>运算符可用于返回{{jsxref("Global_Objects/undefined", "undefined")}}。例如:</p> +<p>当用户点击一个以 <code>javascript:</code> 开头的URI 时,它会执行URI中的代码,然后用返回的值替换页面内容,除非返回的值是{{jsxref("Global_Objects/undefined", "undefined")}}。<code>void</code>运算符可用于返回{{jsxref("Global_Objects/undefined", "undefined")}}。例如:</p> <pre class="brush: html"><a href="javascript:void(0);"> 这个链接点击之后不会做任何事情,如果去掉 void(), |