Buy new:
-27% $21.78$21.78
Ships from: BooksHeroes Sold by: BooksHeroes
Save with Used - Very Good
$10.50$10.50
Ships from: Amazon Sold by: Burlington MA- Used Book Superstore -new books too

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.
Follow the author
OK
Eloquent JavaScript: A Modern Introduction to Programming 1st Edition
Purchase options and add-ons
Eloquent JavaScript dives into this flourishing language and teaches you to write code that's beautiful and effective. By immersing you in example code and encouraging experimentation right from the start, the author quickly gives you the tools you need to build your own programs. As you follow along with examples like an artificial life simulation and a version of the classic game Sokoban, you'll learn to:
–Understand the essential elements of programming: syntax, control, and data
–Use object-oriented and functional programming techniques to organize and clarify your programs
–Script the browser and make basic Web applications
–Work with tools like regular expressions and XMLHttpRequest objects
And since programming is an art that's best learned by doing, all example code is available online in an interactive sandbox for you to experiment with. With Eloquent JavaScript as your guide, you can tweak, expand, and modify the author's code, or throw it away and build your own creations from scratch. Before you know it, you'll be fluent in the language of the Web.
- ISBN-109781593272821
- ISBN-13978-1593272821
- Edition1st
- PublisherNo Starch Press
- Publication dateJanuary 15, 2011
- LanguageEnglish
- Dimensions7 x 0.75 x 9.25 inches
- Print length224 pages
There is a newer edition of this item:
Customers who viewed this item also viewed
Editorial Reviews
About the Author
Product details
- ASIN : 1593272820
- Publisher : No Starch Press; 1st edition (January 15, 2011)
- Language : English
- Paperback : 224 pages
- ISBN-10 : 9781593272821
- ISBN-13 : 978-1593272821
- Item Weight : 13.6 ounces
- Dimensions : 7 x 0.75 x 9.25 inches
- Best Sellers Rank: #1,414,636 in Books (See Top 100 in Books)
- #292 in JavaScript Programming (Books)
- #1,459 in Microsoft Programming (Books)
- #1,569 in Introductory & Beginning Programming
- Customer Reviews:
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 AmazonCustomers say
Customers find this JavaScript book to be an amazing introduction to programming, with one review highlighting its practical approach to understanding code elements. Moreover, the book receives positive feedback for its readability, with customers describing it as a pleasure to read with an enjoyable format. Additionally, the pacing is well-received, with customers noting it is easy to read and understand, and one review mentioning the author's conversational writing style.
AI-generated from the text of customer reviews
Select to learn more
Customers find this JavaScript book to be an amazing introduction to programming, particularly useful for beginners, with one customer noting its practical approach to understanding code elements.
"...the most entertaining Javascript practice projects and skillfully introduces challenging, yet extremely important programming concepts...." Read more
"...book is also available as a free HTML version online which includes additional exercises and interactive versions of the code examples included in..." Read more
"This book is unique in that it starts out with JavaScript as a programming language, and continues delving further and further into how the language..." Read more
"...So I bought the book. Yes, it is more thorough AND introduces topics with greater explanation...." Read more
Customers find the book easy to read and appreciate its enjoyable format, with one customer noting it's particularly suitable for beginners.
"...the first of it's kind that I've seen that is both challenging and fun to read...." Read more
"This book is unique in that it starts out with JavaScript as a programming language, and continues delving further and further into how the language..." Read more
"The book is good and well written. The best chapter is on regular expressions and is the best introduction to the topic I have read...." Read more
"...There is something about the writing that is a pleasure to read--I wish I could write like this!..." Read more
Customers appreciate the book's pacing, finding it easy to read and understand, with one customer noting that the author writes conversationally.
"...concepts in detail, but also in a manner that make sense without using technical jargon (or if there is technical jargon, that is explained as well)...." Read more
"The writing style of this book is just excellent. The language is fluid and, I can't believe I'm saying this about a programming language book,..." Read more
"...All in all, a well written book with good information, however, it is clearly designed for a beginner to programming in general or perhaps a student...." Read more
"...I loved it. However, I found that some sections didn't explain what was going on in such a way that I could visualize why things worked...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on October 26, 2011My goal was to become a better web specialist by supplementing my web design with some coding skills (beyond copying and pasting existing code). While most beginner books explain the basics and leave one with little opportunity to do anything useful with the knowledge, other more advanced books assume you are ready to start at the deep end of the pool.
Eloquent Javascript gets it just right. It might be a bit too challenging for the absolute beginner (I'd recommend "Learn How to Program Using Any Web Browser" by Harold Davis if you want to start easy), but for a beginner-intermediate self-taught web developer, it is the only book on the market I would recommend.
Mr. Haverbeke comes up with the most entertaining Javascript practice projects and skillfully introduces challenging, yet extremely important programming concepts. This is the first programming book which did not melt my brain (although it brought it to a boil a few times) and managed to teach me concepts which other books failed to do.
I wanted to learn how to program, had fun learning it and my new skills translate very well into the real world. It feels great to write my own code and not rely on copy-paste solutions anymore.
- Reviewed in the United States on July 6, 2014The subtitle, "A Modern Introduction to Programming" may be a bit misleading for some. While it is indeed a "Modern Introduction," I would not quite call this an introduction meant for someone with no prior programming knowledge. I took classes a few years ago and have since forgotten most of what I knew. JavaScript kept coming up as an essential skill, so I bought a few books to assist in the re-learning process, and have begun with this.
One of my troubles with learning, or trying to learn, good practices in programming has been finding good sources. A simple Google search brought me to a Tutsplus page where this book was listed, and I think it was a very fine recommendation. While it can be rather challenging at times, the pace is comfortable and the examples have a humorous bent to them, unlike many of the dry texts that fill this market.
Examples in this book are not walked through step-by-step like others of it's kind, and the author assumes a certain amount of work on your part to learn how to actually read the code. Oftentimes with beginner books, I find myself skipping over much of the content because it is dumbed down and far too basic. For example, after a quick overview of basic programming concepts, the author jumps into functional and object oriented programming rather quickly, which I found quite exciting.
The one drawback I found with this was that exercises were not included in the print version to work through on your own, so it was less of an interactive experience and more of a straightforward informational one. The good news is, the book is also available as a free HTML version online which includes additional exercises and interactive versions of the code examples included in the book.
This is one of the first of it's kind that I've seen that is both challenging and fun to read. I've already recommended it to others, and think that it can be a very good (re)introduction, especially for learning a bit more advanced techniques than you will generally find in introductory books.
- Reviewed in the United States on June 14, 2013This book is unique in that it starts out with JavaScript as a programming language, and continues delving further and further into how the language works - but without touching on the browser model until several chapters in. It comes at JavaScript purely as a programming language first, then getting into its uses (which include browser programming) later.
The author writes very conversationally, and explains concepts in detail, but also in a manner that make sense without using technical jargon (or if there is technical jargon, that is explained as well). I was looking for a book that I could recommend to first time JavaScript programmers, and this is has become the book that tops the list.
- Reviewed in the United States on July 13, 2011I'm posting this review because I could not find an answer to "difference between book and html version of Eloquent JavaScript" or "why should I buy the book version of 'Eloquent Javascript'". I started with the html version. I loved it. However, I found that some sections didn't explain what was going on in such a way that I could visualize why things worked. So I checked the table of contents for the book and noticed they were different from the html version. So I bought the book. Yes, it is more thorough AND introduces topics with greater explanation. I bought the book for the Kindle (on my iPad) and it works great to have my iPad in the keyboard dock with the book open, while doing the exercises on [...]. I recommend, to all newbies, that you type in all of the examples, not just click on them and review what is going on. I got through chapter 6 of Head First Javascript and realized that I wasn't getting it. Now I'm getting it.
- Reviewed in the United States on December 3, 2013The book is good and well written. The best chapter is on regular expressions and is the best introduction to the topic I have read. The first half of the book is for novices, the second half of the book is low-level API browser functionality, that you should be using a library for (ie. Event handling and how to hide browser differences). If you wanted to learn the low-level API then this book does not provide near enough detail and if you do not need to know low-level API's like checking the browser type, provided by modernize, then you also do not need to read it.
Nice book, well written, but outdated.
Top reviews from other countries
- Felipe RodriguesReviewed in Brazil on August 6, 2016
5.0 out of 5 stars The Best
The Best JavaScript book I've ever read. It's not for beginners but it's very good to understanding the language fully.
-
RJReviewed in Germany on March 27, 2014
5.0 out of 5 stars Sehr gut - aber nur mit Vorkenntnissen
Das Buch ist angenehm zu lesen und die interaktive Webseite ergänzt es sehr gut.
Besonders gefällt mir, dass das Buch über eine blose Anleitung hinausgeht und auch die konzeptionelle Ebene des Programmierens anspricht.
Jedoch als Warnung: Ohne stabile Programmiervorkenntnisse finde ich die Lernkurve etwas steil.
Optimal ist das Buch für Personen, die sich bereits in einer anderen Programmiersprache wohl fühlen und nun JavaScript lernen wollen.
Anfänger (wie ich) sind vielleicht etwas überfordert. Mir hilft es einen Grundlagenkurs zu absolvieren, der grundlegendes Programmieren mit Python demonstriert.
Einfach nach "udacity cs101" suchen (Links sind anscheinend nicht erlaubt?).
Hinweis: Der Kurs ist kostenlos, wenn man auf die graue Schaltfläche "Start free Courseware" klickt. Der Preis bezieht sich nur darauf, wenn man den Kurs mit einem Zertifikat absolvieren möchte und Coaching braucht. Ist aber völlig unnötig, wenn man es nur lernen will.
So springe ich zwischen Eloquent Javascript und Udacity - CS101 hin und her und wende Gelerntes in beiden Kontexten an. Sehr erleuchtend.
- OS agnosticReviewed in the United Kingdom on March 11, 2013
5.0 out of 5 stars Does what it says on the cover
This is the book you should read if:
* you already have a basic grounding in JavaScript (the free tutorials at Code Academy are great)
* you want to learn how to become a *programmer* you are going to be working with JavaScript.
There are lots of places to learn how to hack together code to make things happen in the browser, or places where you can learn the basic vocabulary of programming. Here, you will learn the very grammar of the best practices of programming, including how to make your code object-orientated. Even how to start writing your own libraries, or, at least, not to be freaked out at the idea of writing your own libraries.
It is well written and concise. The trade-off here is that it is rich. Very rich. I've re-read it twice and I'm still finding things I need to commit to memory - not a lot of space is spent revising/reinforcing. The author warns you about this in the introduction though!
Only after a thorough grounding in the better aspects of the language does it move on to tell you about techniques you can use in the browser - about 2/3 of the way through. I didn't have a problem with that but I can understand how it might aggravate some readers.
-
Antonio FinReviewed in Italy on September 25, 2016
5.0 out of 5 stars Si parte col piede giusto
Bel libro, spiega bene le basi e contiene esempi non banali e molto interessanti. Una lettura veloce che introduce a Javascript in maniera divertente
- Don BurksReviewed in Canada on April 25, 2011
5.0 out of 5 stars Impressive book
I had seen other JavaScript professionals review this book and give it high praise. After purchasing it, I took the time to not only look at the quality of the code examples in the book but also to really review the text being used to describe the concepts discussed. What struck me most about this book is how a novice can read it and learn the fundamentals of writing truly 'eloquent' JavaScript, and also how an experienced JavaScript developer can read it and augment their existing knowledge.
Overall, I am extremely pleased that I purchased this book.