diff options
author | Philip Rowan <rop1mtp@MTPC4CBEF.mtp.us.bosch.com> | 2015-10-01 18:34:11 -0500 |
---|---|---|
committer | Philip Rowan <rop1mtp@MTPC4CBEF.mtp.us.bosch.com> | 2015-10-01 18:34:11 -0500 |
commit | 87d0c402fb596c64a443a5374335508cb6941dc4 (patch) | |
tree | fa706726fab2a5fd0505fc10fb7ad0ab10f5ab3a /javascript.html.markdown | |
parent | a743c831a07f5e846051b156152fe8e6ddcfb097 (diff) |
[javascript] Fix for issue 1248
https://github.com/adambard/learnxinyminutes-docs/issues/1248
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. |