Brief introduction
Since 1996, JavaScript's: Authoritative guide has been defined for JavaScript Bible programmers, Programmer's guides and a comprehensive reference to the core language and Web browser of the client JavaScript API. The 6th edition includes HTML5 and ECMAScript 5, a new chapter with jquery and server-side JavaScript. It is recommended for programmers who want to learn the Web programming language experience, as well as the current JavaScript programmer who wants to master it.
Cover
Directory
JavaScript Definitive Guide (6th edition)
Preface 1
Chapter 1th JavaScript Overview 5
1.1 JavaScript Language Core 8
1.2 Client JavaScript 12
The first part of the JavaScript language core
2nd Chapter Lexical Structure 25
2.1 Character Set 25
2.2 Notes 27
2.3 Direct Volume 27
2.4 Identifiers and reserved Words 28
2.5 Optional semi-colon 30
3rd. Type, value, and variable 32
3.1 Number 34
3.2 Text 38
3.3 Boolean value 43
3.4 Null and undefined 44
3.5 Global Object 45
3.6 Packaging Objects 46
3.7 Immutable primitive values and mutable object references 47
.3.8 Type Conversion 48
3.9 Variable Declaration 55
3.10 Variable Scope 56
4th Chapter expressions and Operators 60
4.1 Original Expression 60
4.2 Initialization expressions for objects and arrays 61
4.3 Function-Definition expression 62
4.4 Property-Access Expression 63
4.5 Calling an expression 64
4.6 Object Creation Expression 64
4.7 Overview of Operators 65
4.8 Arithmetic Expressions 69
4.9 Relationship Expressions 74
4.10 Logical Expressions 79
4.11 Assignment Expression 81
4.12 Expression Calculation 83
4.13 Other Operators 86
Chapter 5th Statement 91
5.1 Expression Statement 92
5.2 Compound statement and empty statement 92
5.3 Declaration Statement 94
5.4 Item Statement 96
5.5 Cycle 101
5.6 Jump 106
5.7 Other Statement Types 113
5.8 JavaScript Statement Summary 116
Chapter 6th Object 118
6.1 Creating an Object 120
6.2 Query and settings for properties 123
6.3 Deleting an attribute 127
6.4 Detection Properties 128
6.5 Enumeration Properties 130
6.6 Property getter and Setter 132
6.7 Properties of Attributes 134
6.8 Three properties of the object 138
6.9 Serialization of Objects 141
6.10 Object Methods 142
The 7th Chapter Array 144
7.1 Creating an array 144
7.2 Reading and writing of array elements 145
7.3 Sparse Array 147
7.4 Array Length 148
7.5 Adding and removing array elements 149
7.6 Array Traversal 149
7.7 Multi-dimensional arrays 151
7.8 Array Method 152
7.9 Array method 156 in ECMAScript 5
7.10 Array type 160
Class 7.11 Array Object 161
7.12 as an array of strings 163
8th Chapter Function 165
8.1 Function Definitions 166
8.2 Function Call 168
8.3 arguments and formal parameters for a function 173
8.4 function as a value 178
8.5 function as a namespace 181
8.6 Closure Pack 182
8.7 function Properties, methods, and constructors 188
8.8 Functional Programming 194
Chapter 9th class and Module 201
Class 9.1 and Prototype 202
9.2 Classes and Constructors 203
Java-Class inheritance in 9.3 JavaScript 207
Expansion of class 9.4 210
9.5 Classes and Types 212
Object-oriented technology in 9.6 JavaScript 217
9.7 Sub-Class 230
9.8 class 239 in ECMAScript 5
9.9 Module 248
10th. Pattern matching of regular expressions 253
10.1 Definition of regular Expressions 253
10.2 String Method 261 for pattern matching
10.3 RegExp Object 263
Chapter 11th Subset and extension of JavaScript 267
11.1 Subset of JavaScript 268
11.2 Constants and local variables 271
11.3 Deconstruction Assignment 274
11.4 Iteration 276
11.5 function Shorthand 285
11.6 Multiple catch clauses 285
11.7 e4x:ecmascript FOR XML 286
12th Server-side JavaScript 290
12.1 Scripting Java 291 with Rhino
12.2 Implementing asynchronous I/O with node 297
Part Two client JavaScript
13th JavaScript in the Web browser 309
13.1 Client JavaScript 309
13.2 embedding JavaScript in HTML 313
13.3 JavaScript Program execution 319
13.4 Compatibility and interoperability 326
13.5 Accessibility 333
13.6 Security 334
13.7 Client Framework 339
14th. Window Object 341
14.1 Timer 342
14.2 Browser positioning and navigation 343
14.3 Browsing History 345
14.4 Browser and screen information 346
14.5 dialog Box 348
14.6 Error Handling 351
14.7 document element As Window object property 351
14.8 multiple windows and forms 353
15th. Scripted Document 361
15.1 Dom Overview 362
15.2 Selecting a Document element 364
15.3 Document structure and traversal 371
15.4 Properties 375
15.5 Elements of Content 378
15.6 creating, inserting, and deleting nodes 382
15.7 Example: Generating catalog table 387
15.8 the geometry and scrolling of documents and elements 389
15.9 HTML Form 396
15.10 Other document features 404
16th. Scripted CSS 410
16.1 CSS Overview 411
16.2 Important CSS Properties 416
16.3 Scripting Inline Styles 427
16.4 Query Computed Styles 431
16.5 Scripting CSS Classes 433
16.6 Scripted style sheet 436
Chapter 17th Event Handling 440
17.1 Event Type 442
17.2 Registering event Handlers 451
17.3 invocation of the event handler 454
17.4 Document Load Events 459
17.5 Mouse Events 461
17.6 Mouse Wheel Event 465
17.7 drag-and-drop events 468
17.8 Text Event 475
17.9 Keyboard Events 478
18th. Scripting HTTP 484
18.1 using XMLHttpRequest 487
18.2 sending HTTP requests with [script]: JSONP 505
18.3 Comet technology based on server-side push Events 508
19th jquery Class Library 514
19.1 jquery Basics 515
19.2 jquery's getter and setter 522
19.3 Modifying the document structure 528
19.4 handling Events with jquery 531
19.5 animation effects 542
19.6 Ajax in jquery 550
19.7 Tool Functions 563
19.8 jquery Selector and selection method 566
19.9 jquery plug-in extension 574
19.10 jquery UI Class library 577
20th Client Storage 579
20.1 Localstorage and Sessionstorage 581
20.2 Cookie 586
20.3 persisting data with IE UserData 592
20.4 application storage and offline Web applications 594
21st. Multimedia and graphics Programming 606
21.1 Scripted Pictures 606
21.2 scripted audio and video 608
21.3 svg: Scalable Vector Graphics 615
21.4 graphics in [canvas] 623
22nd Chapter HTML5 API 658
22.1 Location 659
22.2 Historical records Management 662
22.3 cross-domain message delivery 668
22.4 Web worker 671
22.5 typed arrays and Arraybuffer 678
22.6 BLOB 682
22.7 File System API 691
22.8 Client Database 696
22.9 Web Sockets 704
Part Three JavaScript Core reference
JavaScript Core Reference 711
Part IV client JavaScript reference client JavaScript reference 847
Links: Http://pan.baidu.com/s/1nuLZYFB
Extract code please pay attention to the bottom right QR Code reply resource name + your QQ mailbox get (PDF sent from your mailbox)
JavaScript authoritative Guide (6th edition) (Chinese version) PDF