更新时间:2021-06-11 12:53:31
封面
版权页
Preface
1. Getting to Know JavaScript
Introduction
What Is JavaScript and How Is It Used?
A Brief History of the JavaScript Language
Versions of ECMAScript (and JavaScript)
Accessing Web Browser Developer Tools
An Introduction to Variables
Overview of JavaScript Capabilities
Summary
2. Working with JavaScript
Integrated Development Environments (IDE)
JavaScript Project and File Management
JavaScript Syntax and Structure
Overview of JavaScript Environments
A Closer Look at Web Browser Developer Tools
HTML Element Manipulation with JavaScript
3. Programming Fundamentals
Data Types
Syntax
Conditional and Loop Flow
Writing and Invoking Functions
Reacting to User Input Events and Updating the DOM
4. JavaScript Libraries and Frameworks
Framework versus Library
Popular JavaScript Frameworks
Making XHR Requests
Frameworks versus Core JavaScript
5. Beyond the Fundamentals
Creating Variables
Fixed Types
Boolean Operators
Working with Numbers
Working with Strings
The String Object
Working with Functions
Working with Objects
Working with Arrays
Working with Dates
6. Understanding Core Concepts
Event Types
The JavaScript Events Model
The JavaScript Event Life Cycle
Event Triggers
Working with Forms
Form Controls
7. Popping the Hood
JavaScript Execution and the Event Loop
Memory Management
8. Browser APIs
Canvas
Web Audio API
Web Storage API
IndexedDB
Performance API
Web Socket API
9. Working with Node.js
The Node.js Environment
Node Modules
HTTP
Working with Databases
Making Real-Time Web Apps
10. Accessing External Resources
JSON
AJAX
Other Libraries and XMLHttpRequest
11. Creating Clean and Maintainable Code
What Is a Regex?
Regexes in Detail
Best Practices for Clean Coding
12. Using Next-Generation JavaScript
Browser Differences
Package Managers
Babel Applications with Parcel
Babel Applications with Webpack
The TypeScript Language
Code Support Libraries
Popular Frameworks