Start reading Eloquent JavaScript: A Modern Introduction to Programming on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

Eloquent JavaScript: A Modern Introduction to Programming [Kindle Edition]

Marijn Haverbeke
3.9 out of 5 stars  See all reviews (15 customer reviews)

Print List Price: £19.99
Kindle Price: £15.76 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £4.23 (21%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £15.76  
Paperback £16.59  
Kindle Books Summer Sale
Kindle Summer Sale: Books from 99p
Browse over 600 titles from best-selling authors, including Neil Gaiman, John Grisham, Jeffrey Archer, Veronica Roth and Sylvia Day. >Shop now

Book Description

"A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!"—Brendan Eich, creator of JavaScript

JavaScript is the language of the Web, and it's at the heart of every modern website from the lowliest personal blog to the mighty Google Apps. Though it's simple for beginners to pick up and play with, JavaScript is not a toy—it's a flexible and complex language, capable of much more than the showy tricks most programmers use it for.

Eloquent JavaScript goes beyond the cut-and-paste scripts of the recipe books and teaches you to write code that's elegant and effective. You'll start with the basics of programming, and learn to use variables, control structures, functions, and data structures. Then you'll dive into the real JavaScript artistry: higher-order functions, closures, and object-oriented programming.

Along the way you'll learn to:

  • Master basic programming techniques and best practices
  • Harness the power of functional and object-oriented programming
  • Use regular expressions to quickly parse and manipulate strings
  • Gracefully deal with errors and browser incompatibilities
  • Handle browser events and alter the DOM structure

Most importantly, Eloquent JavaScript will teach you to express yourself in code with precision and beauty. After all, great programming is an art, not a science—so why settle for a killer app when you can create a masterpiece?

Customers Who Bought This Item Also Bought

Page of Start over
This shopping feature will continue to load items. In order to navigate out of this carousel please use your heading shortcut key to navigate to the next or previous heading.

Product Description

About the Author

Marijn Haverbeke is a programming language enthusiast and polyglot. He's worked his way from trivial BASIC games on the Commodore, through a C++ phase, to the present where he mostly hacks on database systems and web APIs in dynamic languages. He created and maintains several popular open source projects.

Product details

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

Most Helpful Customer Reviews
8 of 9 people found the following review helpful
5.0 out of 5 stars It's not only the JavaScript that is Eloquent 5 April 2011
Eloquent JavaScript: A modern Introduction to Programming.

When you first pick up Eloquent JavaScript you may think that you're going to be in for a tough read. The book has the look of an old fashioned text book - lots of type and snippets of code with a bare minimum of diagrams or tables. Actually nothing could be further from the truth - this is a beautifully written and constructed book. The JavaScript isn't the only eloquent thing about it, the prose flows so well it is an absolute joy to read. In terms of construction, it works from the ground up from variables, values and functions through functional and object oriented programming styles until you hit what is probably the bit everyone is after, browser programming. I must admit that I was half expecting a chapter on one of more of the better known JavaScript libraries like jQuery or Prototype and I still can't decide if their omission is good or bad thing, though I'm leaning towards good as it's better to not try and cover a complex subject rather than cover it badly. However I was slightly left wanting more at the end of the book. I'm actually finding it quite hard to find any real fault with Eloquent JavaScript; maybe the odd table to clarify some of the text would be nice. Personally I find it easier to read a table of operator precedences than a block of text but that really is my preference and blocks of text may be more your thing.
Read more ›
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Does what it says on the cover 11 Mar. 2013
Format:Paperback|Verified Purchase
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.
Comment | 
Was this review helpful to you?
Format:Kindle Edition|Verified Purchase
This book really does a great job of covering programming concepts and techniques that every programmer should know and understand but in relation to JavaScript, it's certainly a must read for a JavaScript developer.

I have to admit though there's some stuff in here which I haven't fully understood on my first read (only read it once so far) but I think that's because I learnt so much reading it that there's only so much I can take in. Even if I don't end up understanding those parts on the next read through I understand enough of it already to know there importance and that I'll need to look them up else where, I find not understanding explanations a common problem for me where others don't though so I wouldn't say it's a reflection on the book, I still think it's brilliant.
Comment | 
Was this review helpful to you?
By P Dilla
Firstly, I'd like to point out that this book is actually free online here:

Maybe its just me being fairly new to this language and a total n00b but I found it really hard to follow after about page 50/60. I found the first exercises nearly impossible and had to look at the solution. Did anyone complete the exercises first time? I have completed the JS courses on Treehouse and also Code Academy and found that much easier. This book is also kinda boring I'm sorry to say. Maybe if I could follow along better id probably like it more, so thats probably my fault.
Other than that, I think if you already know Javascript this will really improve your knowledge.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars eloquent by name Eloquent by nature 16 Sept. 2013
Format:Kindle Edition|Verified Purchase
There are lots of books about Javascript but few that actually teach people to write beautiful code. As the title of the book suggests, this certainly has a good go at this.

A good book for beginners to learn programming, but equally inspirational to more seasoned programmers who would like to rethink some of their bad habits. For the later this is quite an easy read.
Comment | 
Was this review helpful to you?
2 of 3 people found the following review helpful
4.0 out of 5 stars Eloquent JavaScript 6 May 2011
By Tami Brady TOP 1000 REVIEWER
I was first introduced to JavaScript while building one of my websites. Knowing absolutely nothing, I essentially learned through trial by fire. I did a lot of copying and pasting of bits of code that I found on the Internet. Then, when something didn't work properly I would just experiment until I solved the problem. Still, there always seemed to be some sort of unexpected results, mostly because I didn't understand the complexities of the code.

I really could have used a good basic introduction to JavaScript like Eloquent JavaScript. This book starts at the very start- What is JavaScript? Then, gradually teaches code through a wide variety of entertaining "real" life situations: from explanations about strings and values through objects and nodes to html and forms.

My favourite example is sorting through Aunt Emily the cat lover's emails so that you sound interested in her life. Laziness leads to figuring out an easier way. I found these little humorous tidbits took the edge off what could have been pretty mind numbingly bland learning.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
4.0 out of 5 stars Great value
Solid read and hits important points, some of which I overlook.
Published 2 months ago by Evan
5.0 out of 5 stars Five Stars
Published 5 months ago by Hussam Nurie
5.0 out of 5 stars A good start
Nice read for a beginner
Published 7 months ago by Joe Cameron Hill
5.0 out of 5 stars Great book both for beginners and experienced programmers!
Written in a practical voice with a deep love of programming. Great stuff both for beginners and experienced programmers! Read more
Published 23 months ago by Asbjørn Andersen
4.0 out of 5 stars Fantastic
It's been a great introduction to javascript. I highly recommend it. However, there are several errata, hence the four stars.
Published on 14 Jun. 2013 by W. R. de Renzy-martin
5.0 out of 5 stars excellent
5 stars. A must read for those needing to learn JavaScript the right way with an object orientated approach .
Published on 4 Mar. 2013 by jambopat
3.0 out of 5 stars A modern introduction for the "beginner"
This is a good book for anyone which is starting to develop. It is also a good introduction to the modern guidelines that are intrinsic to JavaScript, even thought I feel that some... Read more
Published on 18 Jan. 2013 by jose alves
1.0 out of 5 stars What I think of this book....
If you are new to programming forget this book. Very badly explained in my opinion. Dose the usual - this is a string, this is a boolean.....
And then completely looses you. Read more
Published on 10 Jan. 2013 by Ulleruller
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category