Books 1-10 are listed below. Books 11-18 are on the next page.
We have published a series covering the best open source programming books for other popular languages. Read them here.
By Marijn Haverbeke (490 pages)
- Functions – an introduction to code that a program can go through whenever it wants. They can play the role of pure functions, algorithms, indirections, abstractions, decisions, modules, continuations, data structures, and more
- Data structures: Objects and Arrays – at the same time as solving a few simple problems, this chapter discusses arrays and objects, and examines some related techniques
- Bugs and Error Handling – strict mode, testing, debugging, error propagation, exceptions are explored
- Functional Programming – produces abstraction through clever ways of combining functions
- Searching – goes through the solution to two problems, discussing some interesting algorithms and techniques along the way
- The Document Object Model
- Modularity – deals with the process of organizing programs
- The Document-Object Model
- Browser Events
- HTTP requests
The book has been translated into Bulgarian, Portuguese, and Russian.
This version is licensed under a Creative Commons attribution-noncommercial license.
By Kyle Simpson (Up & Going – 88 pages, Scope & Closures – 98 pages, this & Object Prototypes – 174 pages, Types & Grammar – 198 pages, Async & Performance – 296 pages, ES6 & Beyond – 278 pages)
Up & Going teaches you:
- Essential programming building blocks, including operators, types, variables, conditionals, loops, and functions
Scope and Closures dives into trickier parts of the language.
- 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
this & Object Prototypes:
- Explore how the this binding points to objects based on how the function is called
- Look into the nature of JS objects and why you’d need to point to them
- Learn how developers use the mixin pattern to fake classes in JS
- Examine how JS’s prototype mechanism forms links between objects
- Learn how to move from class/inheritance design to behavior delegation
- Understand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation
Types & Grammar
- Understand why JavaSript’s unique array, string, and number characteristics may delight or confound you
- Learn how natives provide object wrappers around primitive values
- Dive into the coercion controversy—and learn why this feature is useful in many cases
Async & Performance
- Understand how callbacks let third parties control your program’s execution
- Use generators to express async flow in a sequential, synchronous-looking fashion
- Tackle program-level performance with Web Workers, SIMD, and asm.js
- Learn valuable resources and techniques for benchmarking and tuning your expressions and statements
ES6 & Beyond
- Learn new ES6 syntax that eases the pain points of common programming idioms
- Organize code with iterators, generators, modules, and classes
- Express async flow control with Promises combined with generators
- Use collections to work more efficiently with data in structured ways
- Leverage new API helpers, including Array, Object, Math, Number, and String
- Extend your program’s capabilities through meta programming
- Preview features likely coming to JS beyond ES6
The 6 books are published under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
By Cody Lindley (141 pages)
- Learn complex values, primitive values, scope, and inheritance
- Understand the importance of the head object
- Work with string, number, and Boolean objects and values
- Discover how to use the null value and the built-in math object
The author confirms the first edition of the book is under an open source license.
By Gerd Wagner (222 pages)
- Getting Started
- Integrity Constraints
- Constraint Validation in a Plain JS Front-End App
- Enumerations and Enumeration Attributes
- Implementing Enumeration Attributes in a Plain JS App
- Reference Properties and Unidirectional Associations
- Bidirectional Associations
- Part-Whole Associations
- Subtyping and Inheritance
- The Model-Based Development Framework mODELcLASSjs
- Constraint Validation with mODELcLASSjs
This book, along with any associated source code, is licensed under The Code Project Open License (CPOL).
By Nicolás Bevacqua (343 pages)
- ES6 Essentials
- Classes, Symbols, and Objects
- Iteration and Flow Control
- Leveraging ECMAScript Collections
- Managing Property Access with Proxies
- Built-in Improvements in ES6
- Practical Considerations
To unlock the HTML, readers have to give permission for Pony Foo to use their Twitter account. We urge the author removes this unnecessary distraction.
The book is published under the Creative Commons Attribution-NonCommercial-ShareAlike license.