summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/javascript-cn.html.markdown
diff options
context:
space:
mode:
authorVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-07 14:26:18 +0200
committerVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-07 14:26:18 +0200
commitbff40e2f9816974abd29322f2a50455f51acd22e (patch)
tree01177dd231841fea5dea3aa6546fde8d6630f5d3 /zh-cn/javascript-cn.html.markdown
parent6dabd9568d2a99e7bbc079d0466588bf68a42283 (diff)
parent5c677e8071291520297ef3d5d8374c6d11285744 (diff)
Merge branch 'master' into translation/brainfuck-cs
Diffstat (limited to 'zh-cn/javascript-cn.html.markdown')
-rw-r--r--zh-cn/javascript-cn.html.markdown3
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: