按年被提到
20142017 · 25 次2026
开源书›编程语言·No.18·简称 YDKJS

You Don't Know JS

你不知道的 JavaScript
Kyle Simpson

Kyle Simpson 的 JavaScript 深度系列,拆解作用域、闭包、this 与异步

免费阅读 ↗
被推荐 · 92 人首次 2014-10-20 · 最近 2025-03-17许可证 CC BY-NC-ND 4.0
92不同的人
53活跃月份
41有推荐的月份
82讨论串

Kyle Simpson 写的一套分册系列,不教入门语法,而是深挖 JavaScript 的核心机制,如作用域与闭包、this 与对象原型、类型与语法、异步与性能等。行文带有明确的观点,鼓励读者弄清语言真实的工作方式而不是靠经验猜。和面向初学者的教程相比,它更适合已经写过 JS、想补足底层理解的人。免费放在 GitHub 上。

HN 为什么推荐它

HN 上的人认为它能帮人从根上理解 JavaScript,尤其是作用域、闭包、this、Promise 和异步;比起追逐框架,这类深层知识更耐用。也有人称 Scope and Closures 那一册让自己真正开窍。

难度 3 / 5约 30 小时开放许可
适合谁

写过 JavaScript、想弄懂语言机制的开发者

读之前最好知道
1JavaScript 基础语法
2基本的 HTML 与浏览器知识

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1先读作用域与闭包那一册,再读 this 与对象原型
  2. 2有一定 JS 经验再读,纯新手先看入门教程
  3. 3异步部分可以与 Promise 的实际用法对照着读
  4. 4遇到不同意的观点就写代码验证,不必全盘接受

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
强烈推荐mewwts · 2015-04

“I can highly recommend this book if you'd like to dive deeper, I just finished reading it: You Don't Know JS”

强烈推荐想深入了解 JavaScript 如何处理 class 的人读
Classless OOP [pdf]原评论 ↗
强烈推荐6DM · 2016-10

“I can't recommend this book enough.”

强烈推荐,Scope and Closures 让人真正顿悟
Ask HN: What cool development languages/tools changed your career?原评论 ↗
强烈推荐acemarke · 2016-12

“In particular, I highly recommend "Eloquent Javascript" ([2]), "You Don't Know JS" ([3]), and everything ever written by Dr. Axel Rauschmayer ([4]).”

强烈推荐它,与 Eloquent Javascript 并列
Ask HN: How to start learning JavaScript concepts原评论 ↗
推荐madlynormal · 2014-12

“Check out Kyle Simpson's "You don't know JS" if you really want a clear understanding on "this"”

推荐想真正搞懂 this 和对象的人读它
“This” in JavaScript原评论 ↗
推荐wldcordeiro · 2014-12

“There's also the great You Don't Know JS[1] series that takes really deep dives into various parts of the language.”

推荐这个系列深入讲解语言的各个部分
Ask HN: Good JavaScript introductions for experienced programmers?原评论 ↗
推荐nailer · 2015-02

“his books are a great source of current best practice.”

称作者的书是当前 JavaScript 最佳实践的来源
You Don't Know JavaScript Book Series原评论 ↗
看全部 20 条 →
推荐callum85 · 2015-03

“Here is another deep explanation of generators, by Kyle Simpson:”

推荐作者对 ES6 generators 的深入解释
ES6 generators in depth原评论 ↗
推荐roneesh · 2015-06

“Kyle Simpson's "You Don't Know JS" series is amazing: You Don't Know JS”

称赞这个系列,主张先学 JavaScript 本身再学工具
Brunch: Replace gulp, grunt and increase your dev speed原评论 ↗
推荐adamzerner · 2015-08

“You Don't Know JS is something that comes to my mind.”

想到它可作为给有经验工程师的 Web 开发材料
Ask HN: Any web dev. material targeted to experienced software engineer?原评论 ↗
推荐Oatseller · 2016-02

“Some additional resources:”

列为学习现代 JavaScript 的补充资源
Ask HN: How should I start with modern JS?原评论 ↗
推荐noir_lord · 2016-04

“You Don't Know JS and the associated videos where excellent.”

称它和配套视频都很出色
Ask HN: How do you decide what to learn next?原评论 ↗
推荐divkakwani · 2016-06

“Check out the book You Don't Know JS for more details on Promises and, in general, on asynchronous programming.”

推荐读它了解 Promises 和异步编程
Async and Await原评论 ↗
推荐pault · 2016-06

“I'll recommend the You Don't Know JS series: You Don't Know JS”

推荐这个免费系列,了解 JavaScript 近年的变化
Async and Await原评论 ↗
推荐brianzelip · 2016-11

“I've found the 'You Don't Know JS' series very helpful for understanding JS from the ground up.”

称这个系列有助于从头理解 JavaScript
Ask HN: Overwhelmed with learning front-end, how do I proceed?原评论 ↗
推荐hackcrafter · 2016-11

“I did find the You Don't Know JS[0] book series extreamly helpful as a C++/Python coder who has only done enough JS to get by.”

称它对只写过一点 JS 的 C++/Python 程序员很有帮助
Show HN: React Native Express – Learn React Native Through Interactive Examples原评论 ↗
推荐stupidcar · 2016-12

“A great place to start is with the "You Don't Know JS" book series, which are all available online, for free: You Don't Know JS.”

推荐从这个免费在线系列开始学 JavaScript
Learning Advanced JavaScript (2008)原评论 ↗
推荐damosneeze · 2016-12

“* You don't know JS: A series of free lessons on JS You Don't Know JS”

列为免费课程,打牢 JavaScript 基础
Ask HN: Hiring managers, what tech skills will you be hiring for in 2017?原评论 ↗
推荐Jpoechill · 2017-02

“Of course, You don't know JS by @Getify:”

称它是学 JavaScript 必读的书
Must have JavaScript books原评论 ↗
推荐sah2ed · 2017-02

“Books like this [0] are a much better time investment as the deep knowledge gained would be useful beyond the currently trending JS framework.”

主张读这类书比追热门框架更值得投入时间
Ask HN: What is the biggest untapped opportunity for startups?原评论 ↗
推荐pg_bot · 2017-03

“Kyle Simpson has a good writeup of the class keyword from his series of books "You don't know Javascript".”

推荐它对 class 关键字的好文章
Refactoring Legacy JavaScript Code to Use Classes原评论 ↗