diff options
author | ven <vendethiel@hotmail.fr> | 2015-10-02 12:08:53 +0200 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-10-02 12:08:53 +0200 |
commit | 428f403bc8e08224dbfacade6628873d562e779d (patch) | |
tree | 984cc77904f5282f017f2f361485bceda0516313 | |
parent | bcc1ce4a046d1ef001311745ab755deebdf79a9a (diff) | |
parent | 87d0c402fb596c64a443a5374335508cb6941dc4 (diff) |
Merge pull request #1277 from teabaggs/master
[javascript] Fix for issue 1248
-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. |