Learning JavaScript, 3rd Edition cover

Learning JavaScript, 3rd Edition

No rating yet
Chapters
21
ISBN
9787115456328

Tags

Summary

JavaScript: The Definitive Guide, 3rd Edition is a JavaScript learning resource written by American technical author Ethan Brown and published in translation by People's Posts and Telecommunications Press. The book comprises 22 chapters and uses ES6 (ECMAScript 2015) as its language baseline, systematically outlining the framework of modern JavaScript knowledge: beginning with a first application and commonly used development tools, it progresses layer by layer through literals, variables, constants, and data types; control flow; expressions and operators; functions and scope; arrays and array processing; objects and object-oriented programming; Maps and Sets; exceptions and error handling; iterators and generators; functional abstractions; asynchronous programming; dates, times, and mathematical operations; regular expressions; JavaScript in the browser; jQuery; and Node.js. The content advances from elementary to advanced topics, accommodating beginners who need to build a foundation in the language while also covering advanced subjects such as asynchrony, generators, and regular expressions. It includes practical introductions to toolchains (version control and package management) that help readers apply their language knowledge to real front-end and back-end projects. The author has long worked in Web and Web service architecture, and his exposition leans toward engineering practice and conceptual explanation. The book is suitable as a long-term reference for readers who already have a basic grasp of syntax and wish to systematically fill out their modern JavaScript technology stack.

Editor's review

市面上大量 JavaScript 入门书仍停留在 ES5 语法,而这本书的骨架是 ES6。它的价值不在于把语法罗列成字典,而在于用一条清晰的线索把语言、工具和运行环境连起来:先讲怎么写第一个应用和该准备哪些工具,再讲类型、控制流、函数、作用域这些必须打牢的地基,然后一路走到异步、生成器、正则这些真正决定代码水平的地方,最后落到浏览器与 Node 两个环境。章节顺序像是一条经过设计的课程路径,而不是知识点的堆叠。 对中文读者来说,它适合当作“第二本书”:在用过 JavaScript、写过几个页面之后再读,会大量接上前一阶段零散的经验,尤其是作用域、闭包、异步和迭代器这几章,能解释很多“为什么这样写”的问题。需要提醒的是,本书不是速查手册,也不覆盖框架与工程化细节;目录信息在部分书目资料中存在章节编号差异,购买时以实物为准。

Who it's for

A good fit for

  • 已能写简单 JavaScript,希望系统补齐 ES6 语言基础的开发者
  • 正在从 jQuery 时代语法转向现代 JavaScript 的前端从业者
  • 想了解浏览器与 Node 两种运行环境的全栈初学者
  • 把编程语言书当作长期案头参考的技术人员

Not a good fit for

  • 完全零基础、连 HTML 与编程基本概念都不熟悉的读者
  • 期望直接学习 React、Vue 等框架实战的读者
  • 只想要一份语法速查表、不打算系统通读的人

Reading tips

  1. 先读第1、2章建立工具环境,边读边把示例代码亲手跑一遍。
  2. 第6、7、12、14章是全书难点,建议放慢速度,配合小项目反复练习。
  3. 读到第18章后,用浏览器与 Node 各写一个小工具,检验对两种环境的理解。
  4. 把本书当参考书二次翻阅:遇到异步、正则、迭代器问题时按章回查。

About the publisher

Posts & Telecom Press China · Founded in 1953

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

  1. Chapter 1 Your First Application
  2. Chapter 2 Common Tools for JavaScript Development
  3. Chapter 3 Literals, Variables, Constants, and Data Types
  4. Chapter 4 Control Flow
  5. Chapter 5 Expressions and Operators
  6. Chapter 6 Functions
  7. Chapter 7 Scope
  8. Chapter 8 Arrays and Their Processing
  9. Chapter 9 Objects and Object-Oriented Programming
  10. Chapter 10 Maps and Sets
  11. Chapter 11 Exceptions and Error Handling
  12. Chapter 12 Iterators and Generators
  13. Chapter 13 Functions and the Power of Abstract Thinking
  14. Chapter 14 Asynchronous Programming
  15. Chapter 15 Dates and Times
  16. Chapter 16 Math
  17. Chapter 17 Regular Expressions
  18. Chapter 18 JavaScript in the Browser
  19. Chapter 19 jQuery
  20. Chapter 20 Node
  21. (Chapters 21–22: Web Development and Modularization)

FAQ

这本书讲的是 ES5 还是 ES6?
以 ES6 为语言基准。出版社内容提要和书目资料均说明本书重点关注 ES6,而非当时市面上更常见的 ES5 教材,因此变量声明、箭头函数、迭代器等现代语法是主线。
零基础可以直接读吗?
不太适合。书中内容提要与读者定位都写明面向“具备一定 JavaScript 基础知识”的读者,完全没接触过编程的人建议先学一门入门课,再回来读这本书。
书里有 Node.js 的内容吗?
有。第20章为 Node 相关章节,第18章讲浏览器中的 JavaScript,全书试图覆盖前端与后端两种运行环境,这也是它区别于纯前端入门书的地方。
第3版和第1版、第2版是什么关系?
不是同一作者的作品延续。第1版、第2版(修订版)由 Shelley Powers 撰写,约 2009—2013 年出版;第3版改由 Ethan Brown 撰写,内容围绕 ES6 重新组织,选购时请按 ISBN 区分。

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.

More by the same author

Top rated in the same category