When we talk about instruments, sometimes the guitar gets all the credit. Of course guitars are great, but an electric guitar on its ownâeven a hollow-bodyâis only so loud. For giving one of the world's favorite instruments its voice, guitar amplifiers deserve a little love too.
This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Along the way, we cover many of the recent innovations such as AJAX, JSON, and interesting design and coding patterns.
An object is an instance of a user defined data type. In other languages (e.g. Java), there's a dichotomy between primitive data types (int, char, etc). These are data types that are built right into the language. JavaScript is a little different because everything is pretty much an object.