diff options
author | Gerson Lázaro <gersonlazaro@gersonlazaro.com> | 2015-10-05 15:20:35 -0500 |
---|---|---|
committer | Gerson Lázaro <gersonlazaro@gersonlazaro.com> | 2015-10-05 15:20:35 -0500 |
commit | e848adf9d53e8af5863497438753d704d30f7c5c (patch) | |
tree | 39ae98c1c71461138437c9cdb7ba5078a16e4658 /zh-cn/javascript-cn.html.markdown | |
parent | d1a822f96c88855b2cbb649a4ea7b452e4104164 (diff) |
Fix for issue #1248 [fa-ir, zh-cn, ko-kr, es-es, ru-ru, fr-fr, de-de]
Diffstat (limited to 'zh-cn/javascript-cn.html.markdown')
-rw-r--r-- | zh-cn/javascript-cn.html.markdown | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zh-cn/javascript-cn.html.markdown b/zh-cn/javascript-cn.html.markdown index dfeb2012..bdef0099 100644 --- a/zh-cn/javascript-cn.html.markdown +++ b/zh-cn/javascript-cn.html.markdown @@ -447,9 +447,6 @@ myNumber === myNumberObj; // = false if (0){ // 这段代码不会执行,因为0代表假 } -if (Number(0)){ - // 这段代码*会*执行,因为Number(0)代表真 -} // 不过,包装类型和内置类型共享一个原型, // 所以你实际可以给内置类型也增加一些功能,例如对string: |