O'Reilly logo

JavaScript Patterns by Stoyan Stefanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

A

Activation Object, Object-Oriented
addEventListener() method, Event Handling
anonymous functions, Disambiguation of Terminology
antipatterns
defined, Patterns
passing strings, Timeouts
user agent sniffing, Separation of Concerns
API documentation, Writing API Docs, Writing to Be Read
API patterns
callback pattern, Callback PatternCallbacks in Libraries
configuration objects, Configuration ObjectsConfiguration Objects
currying, CurryingWhen to Use Currying
returning functions, Returning Functions
apply() method, Borrowing Methods, Borrow and Bind
arguments.callee property, Self-Invoking Constructor, Function Properties—A Memoization Pattern
Array constructor
array literal syntax, Array Literal Syntax
isArray() method, Check for Array-ness
repeating strings and, Array Constructor Curiousness
typeof operator and, Check for Array-ness
usage example, Array Literal, Array Constructor Curiousness
array literal notation, Array LiteralCheck for Array-ness
arrays, borrowing from, Example: Borrow from Array
asynchronous event listeners, Asynchronous Event Listeners
attributes
defined, Object-Oriented
script elements, Loading Strategies, Dynamic <script> Element for Nonblocking ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required