JavaScript Pocket Reference

Front Cover
"O'Reilly Media, Inc.", Apr 18, 2012 - Computers - 265 pages
0 Reviews

JavaScript is the ubiquitous programming language of the Web, and for more than 15 years, JavaScript: The Definitive Guide has been the bible of JavaScript programmers around the world. This book is an all-new excerpt of The Definitive Guide, collecting the essential parts of that hefty volume into this slim yet dense pocket reference.

The first 9 chapters document the latest version (ECMAScript 5) of the core JavaScript language, covering:

  • Types, values, and variables
  • Operators, expressions, and statements
  • Objects and arrays
  • Functions and classes

The next 5 chapters document the fundamental APIs for using JavaScript with HTML5 and explain how to:

  • Interact with web browser windows
  • Script HTML documents and document elements
  • Modify and apply CSS styles and classes
  • Respond to user input events
  • Communicate with web servers
  • Store data locally on the user's computer

This book is a perfect companion to jQuery Pocket Reference.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Lexical Structure
1
Chapter 2 Types Values and Variables
5
Chapter 3 Expressions and Operators
23
Chapter 4 Statements
49
Chapter 5 Objects
75
Chapter 6 Arrays
93
Chapter 7 Functions
111
Chapter 8 Classes
133
Chapter 9 Regular Expressions
149
Chapter 10 ClientSide JavaScript
163
Chapter 11 Scripting Documents
179
Chapter 12 Handling Events
205
Chapter 13 Networking
225
Chapter 14 ClientSide Storage
239
Index
251
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

David Flanagan is a JavaScript programmer at Mozilla. His books with O'Reilly include JavaScript: The Definitive Guide, jQuery Pocket Reference, The Ruby Programming Language, and Java in a Nutshell. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest between the cities of Seattle, Washington, and Vancouver, British Columbia. David has a blog at http://www.davidflanagan.com/.

Bibliographic information