Last Updated on January 21, 2024
1. You Don’t Know JS (book series) by Kyle Simpson
The book series is a firm favorite with beginners and intermediate programmers. The books go into some detail. There’s lots of good material whatever your proficiency in the language.
The content for these books derives heavily from a series of training materials.
Let’s take you through a brief summary of what each book offers.
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
- 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.
The books are hosted at the project’s GitHub repository.
- 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. All code in this book may also be considered licensed under an MIT license.
Read the book. And there’s a paperback version to purchase.
This book provides a highly practical look at ES6, without getting lost in the specification or its implementation details. Armed with practical examples, author Nicolás Bevacqua shows you new ways to deal with asynchronous flow control, declare objects or functions, and create proxies or unique sets, among many other features.
- 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 hurdle.
The book is published under the Creative Commons Attribution-NonCommercial-ShareAlike license.
Pages in this article:
Page 1 – You Don’t Know JS (book series) and more books
Page 3 – Developing Backbone.js Applications and more books
Page 4 – jQuery Fundamentals and more books
All books in this series:
|Free Programming Books
|ALGOL-like programming language, extended from Pascal and other languages
|Dependently typed functional language based on intuitionistic Type Theory
|Inexpensive, flexible, open source microcontroller platform
|As close to writing machine code without writing in pure hexadecimal
|Versatile language designed for pattern scanning and processing language
|Shell and command language; popular both as a shell and a scripting language
|Beginner’s All-purpose Symbolic Instruction Code
|General-purpose, procedural, portable, high-level language
|General-purpose, portable, free-form, multi-paradigm language
|Combines the power and flexibility of C++ with the simplicity of Visual Basic
|Dialect of the Lisp programming language
|Common Business-Oriented Language
|Dependently typed language similar to Agda, Idris, F* and others
|General-purpose, concurrent, multi-paradigm, object-oriented language
|CSS (Cascading Style Sheets) specifies a web page’s appearance
|General-purpose systems programming language with a C-like syntax
|Client-optimized language for fast apps on multiple platforms
|Multi-paradigm language supporting functional and object-oriented coding
|Best known as the language embedded in web browsers
|Object-oriented language designed by Bertrand Meyer
|Relatively new functional language running on the Erlang virtual machine
|General-purpose, concurrent, declarative, functional language
|Uses functional, imperative, and object-oriented programming methods
|Dynamic stack-based programming language
|Imperative stack-based programming language
|The first high-level language, using the first compiler
|Compiled, statically typed programming language
|Powerful, optionally typed and dynamic language
|Standardized, general-purpose, polymorphically, statically typed language
|HyperText Markup Language
|Wide variety of features for processing and presenting symbolic data
|Array programming language based primarily on APL
|General-purpose, concurrent, class-based, object-oriented, high-level language
|Interpreted, prototype-based, scripting language
|High-level, high-performance language for technical computing
|More modern version of Java
|Designed to enable domain experts to build power systems quickly
|Professional document preparation system and document markup language
|Unique features - excellent to study programming constructs
|Dialect of Lisp that features interactivity, modularity, extensibility
|Designed as an embeddable scripting language
|Plain text formatting syntax designed to be easy-to-read and easy-to-write
|Object-oriented language that adds Smalltalk-style messaging to C
|The main implementation of the Caml language
|Imperative and procedural language designed in the late 1960s
|High-level, general-purpose, interpreted, scripting, dynamic language
|PHP has been at the helm of the web for many years
|Interpreted, stack-based and Turing complete language
|A general purpose, declarative, logic programming language
|General-purpose, structured, powerful language
|Hierarchical declarative language for user interface layout - JSON-like syntax
|De facto standard among statisticians and data analysts
|General-purpose, object-oriented, multi-paradigm, functional language
|Member of the Perl family of programming languages
|General purpose, scripting, structured, flexible, fully object-oriented language
|Ideal for systems, embedded, and other performance critical code
|Modern, object-functional, multi-paradigm, Java-based language
|A general-purpose, functional language descended from Lisp and Algol
|Visual programming language designed for 8-16 year-old children
|Access and manipulate data held in a relational database management system
|General-purpose functional language characterized as "Lisp with types"
|Powerful and intuitive general-purpose programming language
|Dynamic language based on concepts of Lisp, C, and Unix shells
|Markup and programming language - create professional quality typeset text
|Object-oriented language, syntactically similar to C#
|Hardware description language used in electronic design automation
|Powerful scripting language of the Vim editor
|Rules for defining semantic tags describing structure ad meaning