
Amazon Prime Free Trial
FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with FREE Delivery" below the Add to Cart button and confirm your Prime free trial.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited FREE Prime delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
-49% $20.36$20.36
Ships from: Amazon Sold by: Book-center
Save with Used - Good
$17.35$17.35
Ships from: Amazon Sold by: BookMine Media
Return this item for free
We offer easy, convenient returns with at least one free return option: no shipping charges. All returns must comply with our returns policy.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Image Unavailable
Color:
-
-
-
- To view this video download Flash Player
Follow the author
OK
Eloquent JavaScript, 3rd Edition: A Modern Introduction to Programming Paperback – December 4, 2018
Purchase options and add-ons
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 Java¬Script 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?
* All source code is available online in an inter¬active sandbox, where you can edit the code, run it, and see its output instantly.
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: A Robot
Bugs and Errors
Regular Expressions
Modules
Asynchronous Programming
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 and Forms
Project: A Pixel Art Editor
(Part 3: Node)
Node.js
Project: Skill-Sharing Website
- Print length472 pages
- LanguageEnglish
- PublisherNo Starch Press
- Publication dateDecember 4, 2018
- Dimensions7 x 1.06 x 9.25 inches
- ISBN-101593279507
- ISBN-13978-1593279509
Book recommendations, author interviews, editors' picks, and more. Read it now.
Frequently bought together

Customers who viewed this item also viewed
- A fragment of code that produces a value is called an expression.Highlighted by 321 Kindle readers
- The collection of bindings and their values that exist at a given time is called the environment.Highlighted by 265 Kindle readers
- There is only one value in JavaScript that is not equal to itself, and that is NaN (“not a number”).Highlighted by 260 Kindle readers
From the Publisher

'Worthy and Much-Needed'
“Eloquent Javascript 3rd edition is a worthy and much-needed update to the popular programming book. The fact that the book covers ES6 is worth a re-read, but the new edition goes above and beyond with new illustrations, a new exercise, and tighter writing. The 3rd edition of the book is substantially improved from its predecessors and worthy of the hype.”
—Books on Code
'The Most Enjoyable Read'
"It’s a smart, lean JavaScript tutorial that exists as an in-print book from No Starch Press, and a free, nicely formatted web version . . . easily the most enjoyable read in this list. And there are so many useful insights that you won’t be bored."
—Matthew MacDonald, Medium's Young Coder
'A Great Resource'
"A great resource if you’re a beginner wanting an introduction to computer science."
—TechCrunch

About the Author
Marijn Haverbeke is an independent developer and author, focused primarily on programming languages and tools for programmers. He spends most of his time working on open source software, such as the CodeMirror editor and the Tern type inference engine.
Who Should Read This Book
- For newbies and beginners to experienced JavaScript users.

About the Publisher
No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.
Editorial Reviews
Review
—Books on Code
"It’s a smart, lean JavaScript tutorial that exists as an in-print book from No Starch Press, and a free, nicely formatted web version . . . easily the most enjoyable read in this list. And there are so many useful insights that you won’t be bored."
—Matthew MacDonald, Medium's Young Coder
“This is all the JavaScript knowledge you’ll need to hit the ground running in a JavaScript project . . . it’s a book I will be frequently revisiting as it has put JavaScript back on my radar.”
—GeekTeckStuff
“This book would make a great addition to any developer's reference books . . . I really like the author's style of writing and clarity of explanations. The sample code and exercises also work, which can be a rare feature in tech-related books”
—Gary Woodfine, Software Developer
“I think this is one of the most enjoyable programming books I’ve read. It covers the core features of the language concisely but then goes on to illustrate how to use those features.”
—Ian Hopkinson, IanHopkinson.org
“If you’re at all interested in learning JavaScript, making this your first guide could mean the difference between getting discouraged and giving up and really getting into programming as a lifelong venture.”
—Joshua Johnson, Design Shack
“Marijn Haverbeke is a software philosopher and all-round genius. He also has a terrific sense of humor and writes both prose and code in a friendly and un-intimidating fashion. In common with the very best teachers he dispenses his wisdom with disarming simplicity. I became a better architect, author, mentor and developer because of this book. It deserves to share shelf space with Flannagan and Crockford.”
—Angus Croll, Javascript We Blog
"A tour de force that takes you from the fundamentals to the heights of JavaScript mastery. Marijn Haverbeke’s conversational prose breathes life into JavaScript, making it accessible and engaging."
—Alex Maher, .NET C# dev
"The author, Marijn Haverbeke, has a great voice."
—Abu Sayed, Sayed.Cyou Blog
"One of the things that makes [Eloquent JavaScript, 3rd Edition] so good is that it doesn’t shy away from complexity . . . Haverbeke is a talented teacher, and he seems to have an intuitive understanding of how difficult concepts can be explained without oversimplifying them."
—Neil Abad, Book Review Buffs
About the Author
Product details
- Publisher : No Starch Press; 3rd edition (December 4, 2018)
- Language : English
- Paperback : 472 pages
- ISBN-10 : 1593279507
- ISBN-13 : 978-1593279509
- Item Weight : 2.31 pounds
- Dimensions : 7 x 1.06 x 9.25 inches
- Best Sellers Rank: #183,170 in Books (See Top 100 in Books)
- #24 in JavaScript Programming (Books)
- #28 in Web Services
- #147 in Introductory & Beginning Programming
- Customer Reviews:
Videos
Videos for this product
1:14
Click to play video
Too complex for a beginner? Here are my early thoughts.Josh @ EasyPars
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images

Like new but way more affordable
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on April 10, 2020I had been looking for additional reference with regards to JavaScript for quite some time, but never felt appealed to a specific one until picking up a copy of this. It is very difficult to write a technical book in a fashion that is appropriate for all skill levels and Haverbeke manages to pull this off. The chapters are organized in a very logical fashion, his writing style is succinct and uses just the right kinds of analogies to help you understand concepts very thoroughly. The exercises are just the right degree of challenge and I'm glad to enrich my further learning of this language by reading his book.
- Reviewed in the United States on January 12, 2019I have so many books and many books on JavaScript. This so far seems to be my favourite of the bunch. I have the paperback book (Which the binding came unglued almost immediately - only con on this book I have against it) and I have the eBook. I use the eBook the most sitting on my desktop next to my laptop and external keyboard/mouse and find I can learn from it easily. I've already learned so much about ES6+ (ECMAScript) not starting with only Vanilla and moving forward but intertwining the newer changes to the language with the old and showing along the way (whether on purpose or not) how to refactor the code so it is more concise using the new shortcuts implement into JavaScript over the last few years. And it builds on topics, gives test questions to rattle your mind a bit and you can tell it was written by someone with Industry inside experience. And one interesting thing I learned from it which the books pounds into you is you need to manage the fine line between shorter/less/cleaner code and efficiency. Sometimes if performance is in question slopppy and longer written out code might suit your needs better. It's a 5 star book. I've been waiting many months for this books to come out and it was worth the wait.
- Reviewed in the United States on April 25, 2025If you are serious about learning JavaScript, and are a beginner programmer, this book can take you to the next level
- Reviewed in the United States on November 26, 2022Have been trying for over a week to understand how to work with the Javascript event loop. Browsed multiple Web blogs, read the "authoritative" Javascript book from that O' "publisher" that no longer deserves the name, hacked away on my own for days without success.
Just got this book, went straight to the "Handling Events" chapter, and 3 minutes later, my confusion was resolved. Not only that, but the chapter opened with a quick and easy overview of how events have been handled in the pre-Javascript era. I found this enlightening as it explained without fluff or pedantry why the Javascript event loop works the way it does. Haven't dived deep into the rest of the book yet, but a brief browse indicates that this book is quality from TOC to Index.
Major kudos to the publisher for bright archival paper, black ink, correctly sized illustrations, excellent typography and correct font sizes. (Sadly, such aspects of basic book design can no longer be taken for granted.)
- Reviewed in the United States on March 23, 2025It is a good book with plenty of information, except that some of the literature was above my learning level!
- Reviewed in the United States on July 16, 2024I have experience with C and C++ and wanted to get up to speed with JavaScript. I spent time with several books, but Eloquent JavaScript was the most helpful. The organization is excellent and the project-based chapters were especially helpful in getting a feel for JavaScript.
- Reviewed in the United States on October 23, 2024Now I can get started on my homework. Great price for a book in great condition.
-
Reviewed in the United States on October 8, 2024Buena resolución de la impresión y el acabado es impecable. Me llegó en excelentes condiciones. 100% recomendado!
Top reviews from other countries
-
Amazon KundeReviewed in Germany on May 12, 2021
5.0 out of 5 stars Meister
Bestes Lehrbuch, das ich je gelesen habe.
- KhushbooReviewed in India on June 4, 2024
5.0 out of 5 stars Best Book
This is the perfect book for javascript. It covers many topics and is not for beginners. But I am very satisfied with the book . All the pages and the cover is also very good. It is worth it.
KhushbooBest Book
Reviewed in India on June 4, 2024
Images in this review
-
SaraReviewed in France on January 7, 2025
5.0 out of 5 stars Parfait ❤️
A posséder absolument dans sa bibliothèque !
- Cliente AmazonReviewed in Italy on February 20, 2025
5.0 out of 5 stars Brilliant!
Superbly executed; from level 0 to pros - not only about javascript but also about logic of programming, too. Bravo!
- FarhanReviewed in Canada on May 1, 2021
5.0 out of 5 stars This is Book is Great if...
Before i got this book i knew a fair amount of JavaScript or at least i thought i did. I'm see a lot of people say it's not an introductory book and is really hard, maybe because they are having a hard time getting the concepts. Yes, that is true the book is hard at first if you already don't know anything about JavaScript.
But, since i already knew some of the language it was really easy to pickup and i am learning some really good stuff. The exercises after every chapter really make you think, but it takes a really long time to finish each chapter because i have to really have think about every piece of code even play with the code to understand the concept.
This Book is Great if you know some of JavaScript already, or programming in general. I recommend learning a little JavaScript before you pick up this book. I prefer physical book instead of the online version, but you may find yourself on the online version to copy paste some of the code and test your code for exercises.
FarhanThis is Book is Great if...
Reviewed in Canada on May 1, 2021
But, since i already knew some of the language it was really easy to pickup and i am learning some really good stuff. The exercises after every chapter really make you think, but it takes a really long time to finish each chapter because i have to really have think about every piece of code even play with the code to understand the concept.
This Book is Great if you know some of JavaScript already, or programming in general. I recommend learning a little JavaScript before you pick up this book. I prefer physical book instead of the online version, but you may find yourself on the online version to copy paste some of the code and test your code for exercises.
Images in this review