Get Ready for Winter Weather Introducing Kindle Unlimited. Your Journey Awaits Men's Clothing Men's Clothing Trend Shop All Men's Clothing Cloud Drive Photos U2 Amazon Fire Phone, now just $0.99 with a two-year contract Amazon Fire TV Grocery Halloween Explore Howl-o-ween Pet Deals The Walking Dead The Walking Dead The Walking Dead Fire tablets Kindle Voyage Today's Deals in Music New Arrivals in Sports & Outdoors Kids' Halloween Store
Programming Books C Java PHP Python Learn more Browse Programming Books
You Don't Know JS: this & Object Prototypes and over one million other books are available for Amazon Kindle. Learn more
Buy New
$19.91
Qty:1
  • List Price: $24.99
  • Save: $5.08 (20%)
FREE Shipping on orders over $35.
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
You Don't Know JS: this &... has been added to your Cart
Trade in your item
Get a $2.33
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

You Don't Know JS: this & Object Prototypes Paperback – July 27, 2014

ISBN-13: 978-1491904152 ISBN-10: 1491904151 Edition: 1st

Buy New
Price: $19.91
33 New from $13.70 9 Used from $15.69
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$19.91
$13.70 $15.69
Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

$19.91 FREE Shipping on orders over $35. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

You Don't Know JS: this & Object Prototypes + You Don't Know JS: Scope & Closures + The Principles of Object-Oriented JavaScript
Price for all three: $52.48

Buy the selected items together

NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Series: You Don't Know Js
  • Paperback: 174 pages
  • Publisher: O'Reilly Media; 1 edition (July 27, 2014)
  • Language: English
  • ISBN-10: 1491904151
  • ISBN-13: 978-1491904152
  • Product Dimensions: 8.9 x 6 x 0.1 inches
  • Shipping Weight: 8.8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #39,402 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

Kyle Simpson is an Open Web Evangelist from Austin, TX. He's passionate about JavaScript, HTML5, real-time/peer-to-peer communications, and web performance. Otherwise, he's probably bored by it. Kyle is an author, workshop trainer, tech speaker, and avid OSS community member.

Customer Reviews

4.6 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

5 of 5 people found the following review helpful By Matthew on August 15, 2014
Format: Paperback
Kyle Simpson explains the semantics of using "this" in Javascript and why it is not the same as Java. The Javascript keyword "this" is often misunderstood. Many works treat it as the Javascript equivalent of Java's "this" or Python's "self," and while that understanding will lead to working programs in most cases, Simpson explains where that understanding will break down in a way that many programmers will not be able to anticipate. He later discusses Javascript's prototypal inheritance and how it works different than typical inheritance designs.

This text should not be a first introduction to the language and maybe not even a second or third. The topics covered are quite advanced and require a relatively high familiarity with Javascript to begin to understand. At times the text can be very confusing and require re-reading sections to fully grasp, however this is due to the complexity of the material covered and not due the author. The author's writing style is quite clear and his examples are well explained. Code samples are very short and to the point, not wasting space with unnecessary filler code which so many technical books do (pages of GUI code for explaining a simple input/output example for instance).

This is the first example I have seen of covering these topics in this manner, and while at first I was unsure if they really warranted their own book, I did not realize how poorly I understood the semantics of "this." I would highly recommend the text to anybody who expects to do much work in Javascript, in particular in creating or working with frameworks, where a full knowledge of the topics covered could prove indispensible. After reading this text, I would be interested in reading the other texts in the series as well.

(I received an electronic copy of the book as part of OReilly's reader review program.)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By astericky on September 1, 2014
Format: Paperback
'this and Object prototypes' is the second book in the 'You Don't know Javascript' book series. I would argue that this book probably could've served as the first book becuase this book challenges developers to actually re-consider the need of and use of the classical design patterns and assessing the benefits and drawbacks of it. In other words it challenges developers to actually be engineers instead of just developers.

It is my opinion that I and other developers have been lazy in that we just accept classical software design as the way software should be developed without really thinking about what that actually means and the benefits and drawbacks of classical design patterns. Rather than fully embracing the benefit of behavior based delegation-oriented design in Javascript, developers have typically shoe-horned in the classical design patterns into Javascript.

If you were even mildly disappointed in the first book in this series 'Scope and Closures', you will pleased to know that this book is head and shoulders better than the first book in this series and really is a shining example of what a good programming book should do is challenge you to think about software design in ways you had not previously really given much thought to.

Gone is the somewhat pretentious tone of the previous book. Instead the author takes a different tone as he aims to teach developers think about the implications of classical and behavioral design patterns. It is as if Kyle got better at writing a book that people can read and learn from. There are plenty of code examples along with detailed explanations of what Javascript is actually doing behind the scenes. This may actually just be a good computer science book to have in general.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By Thomas B. Gross VINE VOICE on October 4, 2014
Format: Paperback Vine Customer Review of Free Product ( What's this? )
I can't quite decide if this is a great book attempting to teach the subtleties of a cryptic programming language or if the "bad parts" of Javascript just aren't worth knowing about. Ultimately I'm pretty psyched by this book and its approach to the subject matter by focusing on select topics in the language, and I'm really looking forward to reading other books in this "You Don't Know JS" series.

I've been putzing about in JS for about a year, teaching myself how to do things by googling individual topics. The only book I've consulted in the past is "Javascript: the Good Parts" - I am very much part of the intended target audience for this book, that is, people who have learned just enough JS "to get by" and use the language just as a way to connect buttons to JSON requests. I confess I did not even know that Javascript has objects or a "this" before reading this book.

The entire text of the book is available online as a free pdf file to download. I have no idea why O'Reilly allows this for so many of their books now (I do not think the various sites that offer these downloads are pirating anything). In any case, this is a nicely bound book in a convenient size; I've been putting it in my knapsack and reading it on the train to and from work.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By frankp93 VINE VOICE on October 11, 2014
Format: Paperback Vine Customer Review of Free Product ( What's this? )
There’s no introductory tutorial or review of basics, so some experience with JavaScript is advised if you want to hit the ground running.

Those with C++ or Java backgrounds will figure it out, but if you picked up JavaScript piecemeal (not uncommon) and don’t have an OO background, there are easier to follow tutorials and books out there that explain objects and the ‘this’ context reference.
Personally, I think ‘JavaScript Succinctly’, downloadable from SyncFusion, does a cleaner job with more practical code that’s a better fit for those without OO experience.

I think I get where the author is coming from; he writes well and the code is well though out. I coded in C++ with an OO background before JavaScript existed and, like him, for a long time refused to take it seriously as well. But the ideal audience for such a narrowly focused book is people who appreciate and enjoy the nuances of language semantics and they’re the ones who likely already get JavaScript’s not-quite-real-OO features.

In short, if you’re a language geek invoved with JavaScript, you’ll probably love it. But if you’re looking for a clear, practical tutorial on advancing your existing JavaScript skills in an OO direction, I can’t wholeheartedly recommend this one.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

What Other Items Do Customers Buy After Viewing This Item?