You Don't Know JS

Kyle Simpson

出版时间

2014-07-27

ISBN

9781491904152

评分

★★★★★
精彩摘录
  • "Shadowing can even occur implicitly in subtle ways, so care must be taken if trying to avoid it. Consider:"
  • "class-style(delegation):"
  • "OLOO-style(objects linked to other objects):"
  • "We will now examine three scenarios for the myObject.foo = "bar" assignment when foo is not already on myObject directly, but is at a higher level of myObject's [[Prototype]] chain: 1. If a normal data accessor property named foo is found anywhere higher on the [[Prototype]] chain, and it's not mark"
用户评论
这本难度有点大,无论是从语言上还是内容上,还是先缓一缓吧😢……
花了好多篇幅推销委托模式...我表示,大家用啥我用啥,别让我选。每一次技术选型都是一次极大的消耗。
依然保持口语化讲干货,解决了我许多从其它书一直遗留下来的疑惑
目前为止读过的最好的 JavaScript 书籍。
2016.31 github套书,感觉没有第二本写的给力 还是值得一读 关于js里的this和原型链 写的还是不错的
详细,基础!
书中诠释了JavaScript的很多怪异现象,但是读完到现在已经一年有余,觉得还是系统的复习比较有用。建议多读高程第三版和es6标准。
copies (class) vs. links (prototype)
收藏