Description
Eloquent JavaScript is a book providing an introduction to the JavaScript programming language and programming in general.
- Introduction
- Basic JavaScript: values, variables, and control flow
- 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
- Error Handling
- 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
- Object-oriented Programming
- Modularity – deals with the process of organising programs
- Regular Expressions – a language for describing patterns in strings. They form a small, separate language, which is embedded inside JavaScript (and in various other programming languages)
- Web programming: A crash course – a quick, superficial introduction to the various elements that make the web work, and the way they relate to JavaScript
- The Document-Object Model
- Browser Events
- HTTP requests
Details
Year:
Total pages:224
Author: Marijn Haverbeke
Contents
- Introduction
-
(Part 1: Language)Values, Types, and Operators
- Program Structure
- Functions
- Data Structures: Objects and Arrays
- Higher-order Functions
- The Secret Life of Objects
- Project: Electronic Life
- Bugs and Error Handling
- Regular Expressions
- Modules
- Project: A Programming Language
-
(Part 2: Browser)JavaScript and the Browser
- The Document Object Model
- Handling Events
- Project: A Platform Game
- Drawing on Canvas
- HTTP
- Forms and Form Fields
- Project: A Paint Program
-
(Part 3: Node)Node.js
- Project: Skill-Sharing Website
Read/ Download
License/Copyright
Licensed under a Creative Commons attribution-noncommercial license. All code in this book may also be considered licensed under an MIT license.