You Don't Know JS (Volume 1)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已能写日常业务代码、希望弄清 this 与闭包究竟如何工作的前端开发者
- 准备前端面试、需要系统梳理作用域与原型链知识体系的人
- 从其他语言转来、想理解 JavaScript 独特对象模型的后端或全栈程序员
- 计算机相关专业学生,作为《JavaScript高级程序设计》之后的进阶读物
Not a good fit for
- 完全没有 JavaScript 基础、需要先学语法与 DOM 操作零基础入门者
- 只想找框架、工程化或组件库实战教程的读者
- 期待大量完整项目案例、边做边学的读者
Reading tips
- 先通读一遍建立整体图景,再对 this 绑定规则与闭包两章逐例手敲验证。
- 读每个例子时先遮住输出自己预测结果,再运行对照,差异处就是知识缺口。
- 读完上卷可顺次衔接中卷(类型与语法)与下卷(异步与性能),形成完整认知。
- 配合浏览器控制台或 Node 环境练习,遇到结论存疑时以实际运行结果为准。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Preface
- Part I Scope and Closures
- Chapter 1 What Is Scope? (Compilation Theory, Understanding Scope, Nested Scope, Exceptions)
- Chapter 2 Lexical Scope (Lexical Stage, Deceiving Lexical Scope: eval and with)
- Chapter 3 Function Scope and Block Scope (Hiding Internal Implementation, Anonymous vs. Named, IIFE, with, try/catch, let, const)
- Chapter 4 Hoisting (The Compiler Strikes Again, Functions First)
- Chapter 5 Scope Closures (The Real Question, Loops and Closures, Modules, Modern and Future Module Mechanisms)
- Appendix A Dynamic Scope
- Appendix B Alternatives to Block Scope
- Appendix C Lexical this
- Appendix D Acknowledgments
- Part II this and Object Prototypes
- Chapter 1 About this (Why Use this, Common Misconceptions, What this Really Is)
- Chapter 2 this in Full (Call Site, Default Binding, Implicit Binding, Explicit Binding, new Binding, Precedence, Binding Exceptions, Soft Binding, Lexical this)
- Chapter 3 Objects (Syntax, Types, Contents, Computed Property Names, Property Descriptors, Immutability, [[Get]] and [[Put]], Getters and Setters, Existence, Iteration)
- Chapter 4 Mixing "Class" Objects (Class Theory, The Mechanics of Classes, Class Inheritance, Polymorphism, Multiple Inheritance, Explicit and Implicit Mixins)
- Chapter 5 Prototypes ([[Prototype]], Prototypal Inheritance, Object Association)
- Chapter 6 Behavior Delegation (Delegation-Oriented Design, Classes vs. Objects, Simpler Design, Introspection)
- Appendix A class in ES6
FAQ
这本书适合零基础学 JavaScript 吗?
上卷、中卷、下卷分别讲什么?
中文版和英文原版内容一致吗?
书里的示例过时了吗,还值得读吗?
读完能显著提升面试表现吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.