Eloquent JavaScript 4th Edition by Marijn Haverbeke – Ebook PDF Instant Download/DeliveryISBN: 171850411X, 9781718504110
Full download Eloquent JavaScript 4th Edition after payment
Product details:
ISBN-10 : 171850411X
ISBN-13 : 9781718504110
Author: Marijn Haverbeke
Start building beautiful web applications in JavaScript with the bestselling introduction to the language, updated with new features, fresh exercises, and fun projects. JavaScript, the programming language that allows us to add programs to web pages, lies at the heart of almost every modern web application, from social media sites to browser-based games. Just about every device can run it, making it a great choice for writing universally useful code. The fourth edition of this classic textbook takes you on a journey through the language of the web, starting from its basic elements and building up to engaging, complete programs. The author’s personal experiences from years of maintaining popular open source projects enliven the text with practical insights and examples. This edition of Eloquent JavaScript updates the book to describe the 2024 version of JavaScript, and shifts the attention given to some topics to better reflect current development practices. The text takes a practical approach to teaching, rooting theory in plenty of motivating examples. The first half of the book describes the fundamentals of the language, whereas the second half shows how to apply it in two programming environments: the web browser and Node.
Eloquent JavaScript 4th Table of contents:
PART I: LANGUAGE
1. VALUES, TYPES, AND OPERATORS
Values
Numbers
Arithmetic
Special Numbers
Strings
Unary Operators
Boolean Values
Comparison
Logical Operators
Empty Values
Automatic Type Conversion
Short-Circuiting of Logical Operators
Summary
2. PROGRAM STRUCTURE
Expressions and Statements
Bindings
Binding Names
The Environment
Functions
The console.log Function
Return Values
Control Flow
Conditional Execution
while and do Loops
Indenting Code
for Loops
Breaking Out of a Loop
Updating Bindings Succinctly
Dispatching on a Value with switch
Capitalization
Comments
Summary
Exercises
Looping a Triangle
FizzBuzz
Chessboard
3. FUNCTIONS
Defining a Function
Bindings and Scopes
Nested Scope
Functions as Values
Declaration Notation
Arrow Functions
The Call Stack
Optional Arguments
Closure
Recursion
Growing Functions
Functions and Side Effects
Summary
Exercises
Minimum
Recursion
Bean Counting
4. DATA STRUCTURES: OBJECTS AND ARRAYS
The Weresquirrel
Datasets
Properties
Methods
Objects
Mutability
The Lycanthrope’s Log
Computing Correlation
Array Loops
The Final Analysis
Further Arrayology
Strings and Their Properties
Rest Parameters
The Math Object
Destructuring
Optional Property Access
JSON
Summary
Exercises
The Sum of a Range
Reversing an Array
A List
Deep Comparison
5. HIGHER-ORDER FUNCTIONS
Abstraction
Abstracting Repetition
Higher-Order Functions
Script Dataset
Filtering Arrays
Transforming with map
Summarizing with reduce
Composability
Strings and Character Codes
Recognizing Text
Summary
Exercises
Flattening
Your Own Loop
Everything
Dominant Writing Direction
6. THE SECRET LIFE OF OBJECTS
Abstract Data Types
Methods
Prototypes
Classes
Private Properties
Overriding Derived Properties
Maps
Polymorphism
Getters, Setters, and Statics
Symbols
The Iterator Interface
Inheritance
The instanceof Operator
Summary
Exercises
A Vector Type
Groups
Iterable Groups
7. PROJECT: A ROBOT
Meadowfield
The Task
Persistent Data
Simulation
The Mail Truck’s Route
Pathfinding
Exercises
Measuring a Robot
Robot Efficiency
Persistent Group
8. BUGS AND ERRORS
Language
Strict Mode
Types
Testing
Debugging
Error Propagation
Exceptions
Cleaning Up After Exceptions
Selective Catching
Assertions
Summary
Exercises
Retry
The Locked Box
9. REGULAR EXPRESSIONS
Creating a Regular Expression
Testing for Matches
Sets of Characters
International Characters
Repeating Parts of a Pattern
Grouping Subexpressions
Matches and Groups
The Date Class
Boundaries and Look-Ahead
Choice Patterns
The Mechanics of Matching
Backtracking
The replace Method
Greed
Dynamically Creating RegExp Objects
The search Method
The lastIndex Property
Parsing an INI File
Code Units and Characters
Summary
Exercises
Regexp Golf
Quoting Style
Numbers Again
10. MODULES
Modular Programs
ES Modules
Packages
CommonJS Modules
Building and Bundling
Module Design
Summary
Exercises
A Modular Robot
Roads Module
Circular Dependencies
11. ASYNCHRONOUS PROGRAMMING
Asynchronicity
Callbacks
Promises
Failure
Carla
Breaking In
async Functions
Generators
A Corvid Art Project
The Event Loop
Asynchronous Bugs
Summary
Exercises
Quiet Times
Real Promises
Building Promise.all
12. PROJECT: A PROGRAMMING LANGUAGE
Parsing
The Evaluator
Special Forms
The Environment
Functions
Compilation
Cheating
Exercises
Arrays
Closure
Comments
Fixing Scope
PART II: BROWSER
13. JAVASCRIPT AND THE BROWSER
Networks and the Internet
The Web
HTML
HTML and JavaScript
In the Sandbox
Compatibility and the Browser Wars
14. THE DOCUMENT OBJECT MODEL
Document Structure
Trees
The Standard
Moving Through the Tree
Finding Elements
Changing the Document
Creating Nodes
Attributes
Layout
Styling
Cascading Styles
Query Selectors
Positioning and Animating
Summary
Exercises
Build a Table
Elements by Tag Name
The Cat’s Hat
15. HANDLING EVENTS
Event Handlers
Events and DOM Nodes
Event Objects
Propagation
Default Actions
Key Events
Pointer Events
Mouse Clicks
Mouse Motion
Touch Events
Scroll Events
Focus Events
Load Event
Events and the Event Loop
Timers
Debouncing
Summary
Exercises
Balloon
Mouse Trail
Tabs
16. PROJECT: A PLATFORM GAME
The Game
The Technology
Levels
Reading a Level
Actors
Drawing
Motion and Collision
Actor Updates
Tracking Keys
Running the Game
Exercises
Game Over
Pausing the Game
A Monster
17. DRAWING ON CANVAS
SVG
The canvas Element
Lines and Surfaces
Paths
Curves
Drawing a Pie Chart
Text
Images
Transformation
Storing and Clearing Transformations
Back to the Game
Choosing a Graphics Interface
Summary
Exercises
Shapes
The Pie Chart
A Bouncing Ball
Precomputed Mirroring
18. HTTP AND FORMS
The Protocol
Browsers and HTTP
Fetch
HTTP Sandboxing
Appreciating HTTP
Security and HTTPS
Form Fields
Focus
Disabled Fields
The Form as a Whole
Text Fields
Checkboxes and Radio Buttons
Select Fields
File Fields
Storing Data Client-Side
Summary
Exercises
Content Negotiation
A JavaScript Workbench
Conway’s Game of Life
19. PROJECT: A PIXEL ART EDITOR
Components
The State
DOM Building
The Canvas
The Application
Drawing Tools
Saving and Loading
Undo History
Let’s Draw
Why Is This So Hard?
Exercises
Keyboard Bindings
Efficient Drawing
Circles
Proper Lines
People also search for Eloquent JavaScript 4th:
eloquent javascript reddit
eloquent javascript sandbox
eloquent javascript audiobook
eloquent javascript epub
eloquent javascript pdf github
Tags:
Eloquent JavaScript,Marijn Haverbeke