summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorIan Bertolacci <ian.bertolacci@gmail.com>2015-10-02 10:15:08 -0600
committerIan Bertolacci <ian.bertolacci@gmail.com>2015-10-02 10:15:08 -0600
commit53790a00980f0ab58efeea5a20c97366daeca401 (patch)
tree60cced8d7b62becacd31b6fb56d9a7c41f1de809 /javascript.html.markdown
parent938720074b8b18a9ada93fb8a040b9ca1a813747 (diff)
parentd5b5b19ca909b573d0b0623604f1ff9369ab04ff (diff)
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown3
1 files changed, 0 insertions, 3 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 588ea86d..ba2e8ce4 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -475,9 +475,6 @@ myNumber === myNumberObj; // = false
if (0){
// This code won't execute, because 0 is falsy.
}
-if (Number(0)){
- // This code *will* execute, because Number(0) is truthy.
-}
// However, the wrapper objects and the regular builtins share a prototype, so
// you can actually add functionality to a string, for instance.