①【2015新书】 You Don't Know JS: Async & Performance
②【2015新书】 You Don't Know JS: Types & Grammar
③【2014】 You Don't Know JS: this & Object Prototypes
④【2014】 You Don't Know JS: Scope & Closures
①【2015新书】 You Don't Know JS: Async & Performance
Book 图书名称:You Don't Know JS: Async & Performance
Author 作者:Kyle Simpson
Publisher 出版社:O'Reilly Media
Page 页数:296
Publishing Date 出版时间:JMar 9, 2015
Language 语言:English
Size 大小:1 MB
Format 格式:pdf 文字版
ISBN: 1491904224, 9781491904220
Edition: 第1版 搜索过论坛,没有该文档
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. As part of the "You Don’t Know JS" series, this concise yet in-depth guide focuses on new asynchronous features and performance techniques—including Promises, generators, and Web Workers—that let you create sophisticated single-page web applications and escape callback hell in the process.
Like other books in this series, You Don’t Know JS: Async & Performance dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.
With this book you will:
Explore old and new JavaScript methods for handling asynchronous programmingUnderstand how callbacks let third parties control your program’s executionAddress the "inversion of control" issue with JavaScript PromisesUse generators to express async flow in a sequential, synchronous-looking fashionTackle program-level performance with Web Workers, SIMD, and asm.jsLearn valuable resources and techniques for benchmarking and tuning your expressions and statements
== 回帖见免费下载 ==
本帖隐藏的内容
②【2015新书】 You Don't Know JS: Types & Grammar
Book 图书名称: You Don't Know JS: Types & Grammar
Author 作者:Kyle Simpson
Publisher 出版社:O'Reilly Media
Page 页数:198
Publishing Date 出版时间:Feb 14, 2015
Language 语言:English
Size 大小:1.7 MB
Format 格式:pdf 文字版
ISBN:978-1491904190
Edition: 第1版 搜索过论坛,没有该文档
With this book you will:
Get acquainted with JavaScript’s seven types: null, undefined, boolean, number, string, object, and symbolUnderstand why JavaSript’s unique array, string, and number characteristics may delight or confound youLearn how natives provide object wrappers around primitive valuesDive into the coercion controversy—and learn why this feature is useful in many casesExplore various nuances in JavaScript syntax, involving statements, expressions, and other features
== 回帖见免费下载 ==
本帖隐藏的内容
③【2014】 You Don't Know JS: this & Object Prototypes
Book 图书名称:You Don't Know JS: this & Object Prototypes
Author 作者:Kyle Simpson
Publisher 出版社:O'Reilly Media
Page 页数:174
Publishing Date 出版时间:Jul 11, 2014
Language 语言:English
Size 大小:3 MB
Format 格式:pdf 文字版
ISBN: 1491904151, 9781491904152
Edition: 第1版 搜索过论坛,没有该文档
With this book you will:
Explore how the this binding points to objects based on how the function is calledLook into the nature of JS objects and why you’d need to point to themLearn how developers use the mixin pattern to fake classes in JSExamine how JS’s prototype mechanism forms links between objectsLearn how to move from class/inheritance design to behavior delegationUnderstand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation
== 回帖见免费下载 ==
本帖隐藏的内容
④【2015新书】 You Don't Know JS: Scope & Closures
Book 图书名称: You Don't Know JS: Scope & Closures
Author 作者:Kyle Simpson
Publisher 出版社:O'Reilly Media
Page 页数:98
Publishing Date 出版时间:Mar 24, 2014
Language 语言:English
Size 大小:1.33 MB
Format 格式:pdf 文字版
ISBN:1449335586, 9781449335588
Edition: 第1版 搜索过论坛,没有该文档
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. This concise yet in-depth guide takes you inside scope and closures, two core concepts you need to know to become a more efficient and effective JavaScript programmer. You’ll learn how and why they work, and how an understanding of closures can be a powerful part of your development skillset.
Like other books in the "You Don’t Know JS" series, Scope and Closures dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can achieve true JavaScript mastery.
Learn about scope, a set of rules to help JavaScript engines locate variables in your code Go deeper into nested scope, a series of containers for variables and functions Explore function- and block-based scope, “hoisting”, and the patterns and benefits of scope-based hiding Discover how to use closures for synchronous and asynchronous tasks, including the creation of JavaScript libraries
== Table of contents ==
Table of contents :
Foreword v
Preface vii
1. What Is Scope? 1
Compiler Theory 1
Understanding Scope 3
Nested Scope 8
Errors 10
Review 11
2. Lexical Scope 13
Lex-time 13
Cheating Lexical 16
Review 21
3. Function Versus Block Scope 23
Scope From Functions 23
Hiding in Plain Scope 24
Functions as Scopes 28
Blocks as Scopes 33
Review 39
4. Hoisting 41
Chicken or the Egg? 41
The Compiler Strikes Again 42
Functions First 44
5. Scope Closure 47
Enlightenment 47
Nitty Gritty 48
Now I Can See 51
Loops and Closure 53
Modules 56
Review 63
A. Dynamic Scope 65
B. Polyfilling Block Scope 69
C. Lexical this75
D. Acknowledgments 79
== 回帖见免费下载 ==
本帖隐藏的内容
声明: 本资源仅供学术研究参考之用,发布者不负任何法律责任,敬请下载者支持购买正版。
提倡免费分享! 我发全部免费的,分文不收 来看看 ...
你也可关注我 马上加关注