Book description
JavaScript is the programming language of the web and is used by more software developers today than any other programming language. For nearly 25 years this best seller has been the go-to guide for JavaScript programmers. The seventh edition is fully updated to cover the 2020 version of JavaScript, and new chapters cover classes, modules, iterators, generators, Promises, async/await, and metaprogramming. You’ll find illuminating and engaging example code throughout.
This book is for programmers who want to learn JavaScript and for web developers who want to take their understanding and mastery to the next level. It begins by explaining the JavaScript language itself, in detail, from the bottom up. It then builds on that foundation to cover the web platform and Node.js.
Topics include:
- Types, values, variables, expressions, operators, statements, objects, and arrays
- Functions, classes, modules, iterators, generators, Promises, and async/await
- JavaScript’s standard library: data structures, regular expressions, JSON, i18n, etc.
- The web platform: documents, components, graphics, networking, storage, and threads
- Node.js: buffers, files, streams, threads, child processes, web clients, and web servers
- Tools and language extensions that professional JavaScript developers rely on
Publisher resources
Table of contents
- Preface
- Introduction to JavaScript
- Lexical Structure
- Types, Values, and Variables
-
Expressions and Operators
- 4.1 Primary Expressions
- 4.2 Object and Array Initializers
- 4.3 Function Definition Expressions
- 4.4 Property Access Expressions
- 4.5 Invocation Expressions
- 4.6 Object Creation Expressions
- 4.7 Operator Overview
- 4.8 Arithmetic Expressions
- 4.9 Relational Expressions
- 4.10 Logical Expressions
- 4.11 Assignment Expressions
- 4.12 Evaluation Expressions
- 4.13 Miscellaneous Operators
- 4.14 Summary
- Statements
- Objects
-
Arrays
- 7.1 Creating Arrays
- 7.2 Reading and Writing Array Elements
- 7.3 Sparse Arrays
- 7.4 Array Length
- 7.5 Adding and Deleting Array Elements
- 7.6 Iterating Arrays
- 7.7 Multidimensional Arrays
-
7.8 Array Methods
- 7.8.1 Array Iterator Methods
- 7.8.2 Flattening arrays with flat() and flatMap()
- 7.8.3 Adding arrays with concat()
- 7.8.4 Stacks and Queues with push(), pop(), shift(), and unshift()
- 7.8.5 Subarrays with slice(), splice(), fill(), and copyWithin()
- 7.8.6 Array Searching and Sorting Methods
- 7.8.7 Array to String Conversions
- 7.8.8 Static Array Functions
- 7.9 Array-Like Objects
- 7.10 Strings as Arrays
- 7.11 Summary
- Functions
- Classes
- Modules
- The JavaScript Standard Library
- Iterators and Generators
- Asynchronous JavaScript
- Metaprogramming
-
JavaScript in Web Browsers
- 15.1 Web Programming Basics
- 15.2 Events
- 15.3 Scripting Documents
- 15.4 Scripting CSS
- 15.5 Document Geometry and Scrolling
- 15.6 Web Components
- 15.7 SVG: Scalable Vector Graphics
- 15.8 Graphics in a <canvas>
- 15.9 Audio APIs
- 15.10 Location, Navigation, and History
- 15.11 Networking
- 15.12 Storage
- 15.13 Worker Threads and Messaging
- 15.14 Example: The Mandelbrot Set
- 15.15 Summary and Suggestions for Further Reading
-
Server-Side JavaScript with Node
- 16.1 Node Programming Basics
- 16.2 Node Is Asynchronous by Default
- 16.3 Buffers
- 16.4 Events and EventEmitter
- 16.5 Streams
- 16.6 Process, CPU, and Operating System Details
- 16.7 Working with Files
- 16.8 HTTP Clients and Servers
- 16.9 Non-HTTP Network Servers and Clients
- 16.10 Working with Child Processes
- 16.11 Worker Threads
- 16.12 Summary
- JavaScript Tools and Extensions
- Index
Product information
- Title: JavaScript: The Definitive Guide, 7th Edition
- Author(s):
- Release date: May 2020
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491952023
You might also like
video
Modern JavaScript from the Beginning - Second Edition
This course is a comprehensive introduction to JavaScript, covering everything from the basics of variables, data …
video
Modern JavaScript From The Beginning
This is a front to back JavaScript course for absolutely everybody. We start with the basic …
video
The Complete Node.js Developer Course (3rd Edition)
This course was just completely re-filmed to give you everything you need to master Node.js in …
book
CSS: The Definitive Guide, 5th Edition
If you're a web designer or app developer interested in sophisticated page styling, improved accessibility, and …