Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Marijn Haverbeke

Rating No ratings yet

Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real applications. 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

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real a… 【Book Arc】 - **Opening (~0%–12%)**: A host of new exercises have also been added to test your skills and keep you on track.; All code in the book may also be considered licensed under an MIT license (https://eloquentjavascript. - **Early (~12%–35%)**: 73 Optional property access .; 99 Overriding derived properties . - **Middle (~35%–65%)**: 191 12 Project: A Programming Language 193 Parsing .; 249 16 Project: A Platform Game 251 The game . - **Late (~65%–88%)**: to compare programs to familiar objects tend to fall short.; e birth of computing, there were no programming lan- guages. - **Ending (~88%–100%)**: mber of radical improvements and extensions to the language.; you’ll be tempted to experiment and go beyond the exercises. 【Key Takeaways】 - **A host of new exercise…** (Opening): A host of new exercises have also been added to test your skills and keep you on track. - **All code in the book m…** (Opening): All code in the book may also be considered licensed under an MIT license (https://eloquentjavascript. - **17 Automatic type conv…** (Opening): 17 Automatic type conversion . - **73 Optional property a…** (Early): 73 Optional property access . - **99 Overriding derived…** (Early): 99 Overriding derived properties . - **130 Cleaning up after…** (Early): 130 Cleaning up after exceptions . 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~24 index chunks). Full structured guide needs AI available.
Excerpt 1
ations • Use the DOM effectively to interact with browsers Eloquent JavaScript 4th edition Marijn Haverbeke Copyright © 2024 by Marijn Haverbeke This work is...
View in text
Page 5
. . . . . . . . . . . . . . . . . . . 69 Rest parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 The Math object . . . . . . . . . ....
View in text
Page 8
. . . . . . . . . . . . . 188 Asynchronous bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 Summary . . . . . . . . . . . . . . . . . . . ....
View in text
Page 10
. . . 286 Back to the game . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 Choosing a graphics interface . . . . . . . . . . . . . . . . . ....
View in text
Page 13
in our own image... But the computer is not really like us. It is a projection of a very slim part of ourselves: that portion devoted to logic, order, rule,...
View in text
Page 15
e birth of computing, there were no programming lan- guages. Programs looked something like this: 00110001 00000000 00000000 00110001 00000001 00000001 00110...
View in text
Page 18
mber of radical improvements and extensions to the language. Changing a living, widely used language in such a radical way turned out to be politically diffi...
View in text
Page 20
write more abstract code and keep complexity under control. After a first project chapter that builds a crude delivery robot, the language part of the book c...
View in text
Tags
AI categories
Framework
Publisher: Self-Published
Publish Year: 2024
Language: English
Pages: 434
File Format: PDF
File Size: 1.9 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…