p82.
书中:条件判断a==null仅在。。。。。。
原文:
The a == null check will pass only if doSomething() returns either null or undefined, and will fail with any other value, even other falsy values like 0, false, and "".
https://github.com/getify/You-Dont-Know-JS/blob/master/types%20%26%20grammar/ch4.md
一个错误
《你不知道的JavaScript(中卷)》热门书评
-
一个错误
0有用 0无用 waitinghope 2016-10-28
p82.书中:条件判断a==null仅在。。。。。。原文:The a == null check will pass only if doSomething() returns either null or undefined, and will fail with any other value,...
-
才读了20多页,感觉还不错。但是发现一个错误的例子
0有用 0无用 洗头用飘柔 2016-11-08
第22页关于void运算符的例子,我认为不对。function doSomething(){ if(!App.ready){  ...
书名: 你不知道的JavaScript(中卷)
作者: [美] Kyle Simpson
出版社: 人民邮电出版社
译者: 单 业 | 姜 南 | 单业 | 姜南
出版年: 2016-8
页数: 358
定价: 79.00元
装帧: 平装
ISBN: 9787115431165