diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/statements/for...in/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/statements/for...in/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/for...in/index.html b/files/zh-cn/web/javascript/reference/statements/for...in/index.html index 2e4318ba9f..7254cda762 100644 --- a/files/zh-cn/web/javascript/reference/statements/for...in/index.html +++ b/files/zh-cn/web/javascript/reference/statements/for...in/index.html @@ -133,9 +133,9 @@ for (var i = 0 in obj) { // 3 </pre> -<p><span style="line-height: 1.5;">这个非标准行为现在在版本40及更高版本中被忽略,并将在严格模式({{bug(748550)}} 和 </span>{{bug(1164741)}})<span style="line-height: 1.5;">中呈现{{jsxref("SyntaxError")}}("<a href="/zh-CN/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer">for-in loop head declarations may not have initializers</a>")错误。</span></p> +<p>这个非标准行为现在在版本40及更高版本中被忽略,并将在严格模式({{bug(748550)}} 和 {{bug(1164741)}})中呈现{{jsxref("SyntaxError")}}("<a href="/zh-CN/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer">for-in loop head declarations may not have initializers</a>")错误。</p> -<p><span style="line-height: 1.5;">像其他引擎 V8(Chrome),</span>Chakra (IE/Edge), JSC (WebKit/Safari) 正在研究去除这种不标准的行为。</p> +<p>像其他引擎 V8(Chrome),Chakra (IE/Edge), JSC (WebKit/Safari) 正在研究去除这种不标准的行为。</p> <h2 id="相关链接">相关链接</h2> |