Eloquent JavaScript

A Modern Introduction to Programming

by Marijn Haverbeke

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.

This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code. It has been updated to reflect the current state of JavaScript and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. A host of new exercises have also been added to test your skills and keep you on track.

As with previous editions, Haverbeke continues to teach through extensive examples and immerses you in code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. You start by learning the basic structure of the JavaScript language as well as control structures, functions, and data structures to help you write basic programs. Then you'll learn about error handling and bug fixing, modularity, and asynchronous programming before moving on to web browsers and how JavaScript is used to program them. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you'll learn how to:
- Understand the essential elements of programming, including syntax, control, and data
- Organize and clarify your code with object-oriented and functional programming techniques
- Script the browser and make basic web applications
- Use the DOM effectively to interact with browsers
- Harness Node.js to build servers and utilities

Isn't it time you became fluent in the language of the Web?

This open book is licensed under a Creative Commons License (CC BY). You can download Eloquent JavaScript ebook for free in PDF format (3.5 MB).

Table of Contents

Part I
Language
 
Chapter 1
Values, Types, and Operators
 
Chapter 2
Program Structure
 
Chapter 3
Functions
 
Chapter 4
Data Structures: Objects and Arrays
 
Chapter 5
Higher-Order Functions
 
Chapter 6
The Secret Life of Objects
 
Chapter 7
Project: A Robot
 
Chapter 8
Bugs and Errors
 
Chapter 9
Regular Expressions
 
Chapter 10
Modules
 
Chapter 11
Asynchronous Programming
 
Chapter 12
Project: A Programming Language
 
Part II
Browser
 
Chapter 13
JavaScript and the Browser
 
Chapter 14
The Document Object Model
 
Chapter 15
Handling Events
 
Chapter 16
Project: A Platform Game
 
Chapter 17
Drawing on Canvas
 
Chapter 18
HTTP and Forms
 
Chapter 19
Project: A Pixel Art Editor
 
Part III
Node
 
Chapter 20
Node.js
 
Chapter 21
Project: Skill-Sharing Website
 
Chapter 22
JavaScript and Performance
 

Book Details

Subject
Computer Science
Publisher
No Starch Press
Published
2018
Pages
448
Edition
3
Language
English
ISBN13 Digital
9781593279509
ISBN10 Digital
1593279507
PDF Size
3.5 MB
License
CC BY

Book Hashtags

Related Books

JavaScript Notes for Professionals
The JavaScript Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Learn BlackBerry 10 App Development
Learn how to leverage the BlackBerry 10 Cascades framework to create rich native applications. Learn BlackBerry 10 App Development gives you a solid foundation for creating BlackBerry 10 apps efficiently. Along the way, you will learn how to use QML and JavaScript for designing your app's UI, and C++/Qt for the application logic. No prior knowledge...
Designing Scalable JavaScript Applications
If you've ever written a non-trivial JavaScript application, you know that creating a code base that's easy to maintain and scales well over time is no small feat. The complexity only grows as the project becomes larger. While it's impossible to plan for every change that could possibly happen over the life of a project, you can help future-proof y...
Java Web Scraping Handbook
Web scraping or crawling is the art of fetching data from a third party website by downloading and parsing the HTML code to extract the data you want. It can be hard. From bad HTML code to heavy Javascript use and anti-bot techniques, it is often tricky. Lots of companies use it to obtain knowledge concerning competitor prices, news aggregation, ma...
Programming Windows Store Apps with HTML, CSS, and JavaScript
Microsoft Press is pleased to offer the second edition of Kraig Brockschmidt's in-depth ebook on writing Windows Store apps using HTML, CSS3, and JavaScript on the Windows 8.1 platform. The ebook includes 20 chapters and 4 appendices....
Laravel Collections Unraveled
In "Laravel Collections Unraveled" we are going to see just what is so amazing about this class by digging down under the hood to understand the full range of functions availalble, and create practical examples of each of them that we can use right away. In the process, we're going to perhaps improve our basic PHP skills a bit by getting ...