×
思维导图备注
[试读] Deep JavaScript: Theory and techniques
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
I Frontmatter
来源:Axel
浏览
1195
扫码
分享
2020-06-08 21:53:54
I Frontmatter
Please support this book:
buy it
or
donate
I Frontmatter
1 About this book
当前内容版权归
Axel
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
Axel
.
上一篇:
下一篇:
I Frontmatter
1 About this book
1.1 Where is the homepage of this book?
1.2 What is in this book?
1.3 What do I get for my money?
1.4 How can I preview the content?
1.5 How do I report errors?
1.6 Tips for reading
1.7 Notations and conventions
1.8 Acknowledgements
II Types, values, variables
2 Type coercion in JavaScript
2.1 What is type coercion?
2.2 Operations that help implement coercion in the ECMAScript specification
2.3 Intermission: expressing specification algorithms in JavaScript
2.4 Example coercion algorithms
2.5 Operations that coerce
2.6 Glossary: terms related to type conversion
3 The destructuring algorithm
3.1 Preparing for the pattern matching algorithm
3.2 The pattern matching algorithm
3.3 Empty object patterns and Array patterns
3.4 Applying the algorithm
4 A detailed look at global variables
4.1 Scopes
4.2 Lexical environments
4.3 The global object
4.4 In browsers, globalThis does not point directly to the global object
4.5 The global environment
4.6 Conclusion: Why does JavaScript have both normal global variables and the global object?
4.7 Further reading and sources of this chapter
5 % is a remainder operator, not a modulo operator
5.1 Remainder operator rem vs. modulo operator mod
5.2 An intuitive understanding of the remainder operation
5.3 An intuitive understanding of the modulo operation
5.4 Similarities and differences between rem and mod
5.5 The equations behind remainder and modulo
5.6 Where are rem and mod used in programming languages?
5.7 Further reading and sources of this chapter
III Working with data
6 Copying objects and Arrays
6.1 Shallow copying vs. deep copying
6.2 Shallow copying in JavaScript
6.3 Deep copying in JavaScript
6.4 Further reading
7 Updating data destructively and non-destructively
7.1 Examples: updating an object destructively and non-destructively
7.2 Examples: updating an Array destructively and non-destructively
7.3 Manual deep updating
7.4 Implementing generic deep updating
8 The problems of shared mutable state and how to avoid them
8.1 What is shared mutable state and why is it problematic?
8.2 Avoiding sharing by copying data
8.3 Avoiding mutations by updating non-destructively
8.4 Preventing mutations by making data immutable
8.5 Libraries for avoiding shared mutable state
IV OOP: object property attributes
9 Property attributes: an introduction
9.1 The structure of objects
9.2 Property descriptors
9.3 Retrieving descriptors for properties
9.4 Defining properties via descriptors
9.5 Object.create(): Creating objects via descriptors
9.6 Use cases for Object.getOwnPropertyDescriptors()
9.7 Omitting descriptor properties
9.8 What property attributes do built-in constructs use?
9.9 API: property descriptors
9.10 Further reading
10 Where are the remaining chapters?
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度