Vai al contenuto principale della pagina
Autore: | Zakas Nicholas C. |
Titolo: | The principles of object-oriented JavaScript [[e-book] /] / by Nicholas C. Zakas ; publisher William Pollock ; production editor Serena Yang ; cover illustration Charlie Wylie |
Pubblicazione: | San Francisco, California : , : No Starch Press, , 2014 |
©2014 | |
Edizione: | 1st edition |
Descrizione fisica: | 1 online resource (122 pages) : illustrations, tables |
Disciplina: | 005.1/17 |
Soggetto topico: | JavaScript (Computer program language) |
Object-oriented programming languages | |
Classificazione: | COM051260COM051010COM051210 |
Persona (resp. second.): | PollockWilliam |
YangSerena | |
WylieCharlie | |
Note generali: | Includes index. |
Nota di contenuto: | Intro -- The Principles of Object-Oriented Javascript -- About the Author -- About the Technical Reviewer -- Foreword -- Acknowledgments -- Introduction -- Who This Book Is For -- Overview -- Help and Support -- 1. Primitive and Reference Types -- What Are Types? -- Primitive Types -- Identifying Primitive Types -- Primitive Methods -- Reference Types -- Creating Objects -- Dereferencing Objects -- Adding or Removing Properties -- Instantiating Built-in Types -- Literal Forms -- Object and Array Literals -- Function Literals -- Regular Expression Literals -- Property Access -- Identifying Reference Types -- Identifying Arrays -- Primitive Wrapper Types -- Summary -- 2. Functions -- Declarations vs. Expressions -- Functions as Values -- Parameters -- Overloading -- Object Methods -- The this Object -- Changing this -- The call() Method -- The apply() Method -- The bind() Method -- Summary -- 3. Understanding Objects -- Defining Properties -- Detecting Properties -- Removing Properties -- Enumeration -- Types of Properties -- Property Attributes -- Common Attributes -- Data Property Attributes -- Accessor Property Attributes -- Defining Multiple Properties -- Retrieving Property Attributes -- Preventing Object Modification -- Preventing Extensions -- Sealing Objects -- Freezing Objects -- Summary -- 4. Constructors and Prototypes -- Constructors -- Prototypes -- The [[Prototype]] Property -- Using Prototypes with Constructors -- Changing Prototypes -- Built-in Object Prototypes -- Summary -- 5. Inheritance -- Prototype Chaining and Object.prototype -- Methods Inherited from Object.prototype -- valueOf() -- toString() -- Modifying Object.prototype -- Object Inheritance -- Constructor Inheritance -- Constructor Stealing -- Accessing Supertype Methods -- Summary -- 6. Object Patterns -- Private and Privileged Members -- The Module Pattern. |
Private Members for Constructors -- Mixins -- Scope-Safe Constructors -- Summary -- Index -- About the Author -- Copyright. | |
Sommario/riassunto: | The Principles of Object-Oriented JavaScript helps experienced programmers understand JavaScript's unique approach to object-oriented programming so they can tackle their problems effectively, and with less code. |
Titolo autorizzato: | The principles of object-oriented JavaScript |
ISBN: | 1-59327-576-5 |
1-4571-8530-X | |
Formato: | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910788865003321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |