diff options
author | Ian Bertolacci <ian.bertolacci@gmail.com> | 2015-10-02 10:15:08 -0600 |
---|---|---|
committer | Ian Bertolacci <ian.bertolacci@gmail.com> | 2015-10-02 10:15:08 -0600 |
commit | 53790a00980f0ab58efeea5a20c97366daeca401 (patch) | |
tree | 60cced8d7b62becacd31b6fb56d9a7c41f1de809 /javascript.html.markdown | |
parent | 938720074b8b18a9ada93fb8a040b9ca1a813747 (diff) | |
parent | d5b5b19ca909b573d0b0623604f1ff9369ab04ff (diff) |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r-- | javascript.html.markdown | 3 |
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. |