JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language. 7 Ed

Оглавление⌄
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii1. Introduction to JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....11.1 Exploring JavaScript....31.2 Hello World....51.3 A Tour of JavaScript....51.4 Example: Character Frequency Histograms....111.5 Summary....142. Lexical Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....152.1 The Text of a JavaScript Program....152.2 Comments....162.3 Literals....162.4 Identifiers and Reserved Words....162.5 Unicode....172.6 Optional Semicolons....192.7 Summary....213. Types, Values, and Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....233.1 Overview and Definitions....233.2 Numbers....253.3 Text....323.4 Boolean Values....383.5 null and undefined....403.6 Symbols....413.7 The Global Object....423.8 Immutable Primitive Values and Mutable Object References....433.9 Type Conversions....453.10 Variable Declaration and Assignment....533.11 Summary....604. Expressions and Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....614.1 Primary Expressions....624.2 Object and Array Initializers....624.3 Function Definition Expressions....634.4 Property Access Expressions....644.5 Invocation Expressions....664.6 Object Creation Expressions....684.7 Operator Overview....684.8 Arithmetic Expressions....734.9 Relational Expressions....784.10 Logical Expressions....844.11 Assignment Expressions....864.12 Evaluation Expressions....884.13 Miscellaneous Operators....914.14 Summary....965. Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....975.1 Expression Statements....985.2 Compound and Empty Statements....995.3 Conditionals....1005.4 Loops....1055.5 Jumps....1125.6 Miscellaneous Statements....1215.7 Declarations....1245.8 Summary of JavaScript Statements....1276. Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....1296.1 Introduction to Objects....1296.2 Creating Objects....1306.3 Querying and Setting Properties....1336.4 Deleting Properties....1386.5 Testing Properties....1396.6 Enumerating Properties....1406.7 Extending Objects....1426.8 Serializing Objects....1436.9 Object Methods....1446.10 Extended Object Literal Syntax....1466.11 Summary....1537. Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....1557.1 Creating Arrays....1567.2 Reading and Writing Array Elements....1597.3 Sparse Arrays....1607.4 Array Length....1617.5 Adding and Deleting Array Elements....1617.6 Iterating Arrays....1627.7 Multidimensional Arrays....1647.8 Array Methods....1657.9 Array-Like Objects....1777.10 Strings as Arrays....1797.11 Summary....1808. Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....1818.1 Defining Functions....1828.2 Invoking Functions....1868.3 Function Arguments and Parameters....1938.4 Functions as Values....2008.5 Functions as Namespaces....2038.6 Closures....2048.7 Function Properties, Methods, and Constructor....2098.8 Functional Programming....2138.9 Summary....2199. Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....2219.1 Classes and Prototypes....2229.2 Classes and Constructors....2249.3 Classes with the class Keyword....2299.4 Adding Methods to Existing Classes....2369.5 Subclasses....2379.6 Summary....24810. Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....24910.1 Modules with Classes, Objects, and Closures....25010.2 Modules in Node....25310.3 Modules in ES6....25510.4 Summary....26611. The JavaScript Standard Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....26711.1 Sets and Maps....26811.2 Typed Arrays and Binary Data....27511.3 Pattern Matching with Regular Expressions....28111.4 Dates and Times....30011.5 Error Classes....30411.6 JSON Serialization and Parsing....30611.7 The Internationalization API....30911.8 The Console API....31711.9 URL APIs....32011.10 Timers....32311.11 Summary....32512. Iterators and Generators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....32712.1 How Iterators Work....32812.2 Implementing Iterable Objects....32912.3 Generators....33212.4 Advanced Generator Features....33612.5 Summary....33913. Asynchronous JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....34113.1 Asynchronous Programming with Callbacks....34213.2 Promises....34613.3 async and await....36713.4 Asynchronous Iteration....37013.5 Summary....37714. Metaprogramming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....37914.1 Property Attributes....38014.2 Object Extensibility....38414.3 The prototype Attribute....38614.4 Well-Known Symbols....38714.5 Template Tags....39514.6 The Reflect API....39714.7 Proxy Objects....39914.8 Summary....40615. JavaScript in Web Browsers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....40915.1 Web Programming Basics....41115.2 Events....42615.3 Scripting Documents....43715.4 Scripting CSS....45215.5 Document Geometry and Scrolling....45915.6 Web Components....46415.7 SVG: Scalable Vector Graphics....47715.8 Graphics in a <canvas>....48415.9 Audio APIs....50715.10 Location, Navigation, and History....50915.11 Networking....51815.12 Storage....53615.13 Worker Threads and Messaging....54815.14 Example: The Mandelbrot Set....55515.15 Summary and Suggestions for Further Reading....56816. Server-Side JavaScript with Node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....57716.1 Node Programming Basics....57816.2 Node Is Asynchronous by Default....58316.3 Buffers....58616.4 Events and EventEmitter....58816.5 Streams....59016.6 Process, CPU, and Operating System Details....60116.7 Working with Files....60216.8 HTTP Clients and Servers....61316.9 Non-HTTP Network Servers and Clients....61716.10 Working with Child Processes....62016.11 Worker Threads....62516.12 Summary....63417. JavaScript Tools and Extensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....63517.1 Linting with ESLint....63617.2 JavaScript Formatting with Prettier....63717.3 Unit Testing with Jest....63817.4 Package Management with npm....64017.5 Code Bundling....64217.6 Transpilation with Babel....64417.7 JSX: Markup Expressions in JavaScript....64517.8 Type Checking with Flow....64917.9 Summary....665Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....667
Описание
В этом материале разберём тему: javascript.
For nearly 25 years this best seller has been the go-to guide for JavaScript programmers. JavaScript is the programming language of the web and is used by more software developers today than any other programming language. 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.
It begins by explaining the JavaScript language itself, in detail, from the bottom up. 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 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
Если материал оказался полезен — сохраните страницу.
Поделиться
Частые вопросы
Можно ли скачать «JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language. 7 Ed» бесплатно?
Да, «JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language. 7 Ed» доступна для бесплатного скачивания на нашем сайте в формате PDF. Ссылка на файл находится на этой странице.
В каком формате и какого размера файл?
Книга предоставляется в формате PDF, размер файла 3,6 МБ.
Кто автор и когда вышла книга?
автор — Flanagan David, издательство O’Reilly Media, Inc., год выпуска 2020, 707 страниц.
О чём книга «JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language. 7 Ed»?
JavaScript is the programming language of the web and is used by more software developers today than any other programming language.