Skip to product information
Modern JavaScript Deep Dive
Modern JavaScript Deep Dive
Description
Book Introduction
"Modern JavaScript Deep Dive" accurately and specifically explains the fundamental concepts surrounding JavaScript and relentlessly delves into the workings of JavaScript code.
So it helps you predict and clearly explain how your code will behave inside a computer.
It also builds the foundation for writing stable and efficient code that reflects the latest JavaScript specifications, and helps you fully understand and utilize modern JavaScript frameworks and tools used in real-world situations.
  • You can preview some of the book's contents.
    Preview

index
▣ Chapter 1: Programming
1.1 What is Programming?
1.2 Programming Language
1.3 Syntax and Semantics

▣ Chapter 2: What is JavaScript?
2.1 The Birth of JavaScript
2.2 Standardization of JavaScript
2.3 History of JavaScript Growth
____2.3.1 Ajax
____2.3.2 jQuery
____2.3.3 V8 JavaScript Engine
____2.3.4 Node.js
____2.3.5 SPA Framework
2.4 JavaScript and ECMAScript
2.5 Features of JavaScript
2.6 ES6 Browser Support Status

▣ Chapter 3: JavaScript Development Environment and Execution Methods
3.1 JavaScript execution environment
3.2 Web Browser
____3.2.1 Developer Tools
____3.2.2 Console
____3.2.3 Running JavaScript in the Browser
____3.2.4 Debugging
3.3 Node.js
____3.3.1 Introduction to Node.js and npm
____3.3.2 Installing Node.js
____3.3.3 Node.js REPL
3.4 Visual Studio Code
____3.4.1 Installing Visual Studio Code
____3.4.2 Built-in terminal
____3.4.3 Code Runner Extension Plugin
____3.4.4 Live Server Extension Plugin

▣ Chapter 4: Variables
4.1 What are variables? Why are they needed?
4.2 Identifier
4.3 Variable declaration
4.4 Execution timing of variable declarations and variable hoisting
4.5 Assignment of values
4.6 Reassigning values
4.7 Identifier Naming Rules

▣ Chapter 5: Expressions and Statements
5.1 value
5.2 Literal
5.3 Expressions
5.4 Questions
5.5 Semicolons and automatic semicolon insertion function
5.6 Statements that are expressions and statements that are not expressions

▣ Chapter 6: Data Types
6.1 Numeric Type
6.2 String Type
6.3 Template Literals
____6.3.1 Multiline strings
____6.3.2 Inserting Expressions
6.4 Boolean Type
6.5 undefined type
6.6 null type
6.7 Symbol Type
6.8 Object Types
6.9 The Need for Data Types
____6.9.1 Securing and referencing memory space by data type
____6.9.2 Interpreting values ​​by data type
6.10 Dynamic Typing
____6.10.1 Dynamically Typed Languages ​​and Statically Typed Languages
____6.10.2 Dynamically Typed Languages ​​and Variables

▣ Chapter 7: Operators
7.1 Arithmetic Operators
____7.1.1 Binary Arithmetic Operators
____7.1.2 Unary Arithmetic Operators
____7.1.3 String concatenation operator
7.2 Assignment Operators
7.3 Comparison Operators
____7.3.1 Equality/Equality Comparison Operators
____7.3.2 Relational Comparison Operators
7.4 Ternary Conditional Operator
7.5 Logical Operators
7.6 Comma Operator
7.7 Group Operators
7.8 typeof operator
7.9 Exponentiation Operators
7.10 Other operators
Side effects of the 7.11 operator
7.12 Operator Precedence
7.13 Operator Associativity Order

▣ Chapter 8: Control Statements
8.1 Block statement
8.2 Conditional statements
____8.2.1 if...else statement
____8.2.2 switch statement
8.3 Loops
____8.3.1 for statement
____8.3.2 while statement
____8.3.3 do...while statement
8.4 break statement
8.5 continue statement

▣ Chapter 9: Type Conversion and Shortcut Evaluation
9.1 What is type conversion?
9.2 Implicit Type Conversion
____9.2.1 Convert to string type
____9.2.2 Converting to numeric type
____9.2.3 Converting to Boolean type
9.3 Explicit Type Conversion
____9.3.1 Convert to string type
____9.3.2 Converting to numeric type
____9.3.3 Converting to Boolean type
9.4 Short-term evaluation
____9.4.1 Shortcut Evaluation Using Logical Operators
____9.4.2 Optional Chaining Operators
____9.4.3 Null coalescing operator

▣ Chapter 10: Object Literals
10.1 What is an object?
10.2 Creating objects using object literals
10.3 Properties
10.4 Method
10.5 Property Access
10.6 Updating property values
10.7 Dynamically Creating Properties
10.8 Delete property
10.9 Object literal extensions added in ES6
____10.9.1 Property Shorthand
____10.9.2 Computed Property Names
____10.9.3 Method Abbreviations

▣ Chapter 11: Comparing Primitive Values ​​and Objects
11.1 Raw values
____11.1.1 Immutable values
____11.1.2 Strings and Immutability
____11.1.3 Passing by Value
11.2 Objects
____11.2.1 Mutable Values
____11.2.2 Passing by Reference

▣ Chapter 12: Functions
12.1 What is a function?
12.2 Why Use Functions?
12.3 Function Literals
12.4 Function Definition
____12.4.1 Function declaration
____12.4.2 Function Expressions
____12.4.3 Function Creation Timing and Function Hoisting
____12.4.4 Function constructor function
____12.4.5 Arrow Functions
12.5 Function Calls
____12.5.1 Parameters and Arguments
____12.5.2 Acquisition Verification
____12.5.3 Maximum number of parameters
____12.5.4 Return statement
12.6 Passing by Reference and Changing External State
12.7 Various forms of functions
____12.7.1 Immediately Executed Functions
____12.7.2 Recursive functions
____12.7.3 Nested functions
____12.7.4 Callback functions
____12.7.5 Pure and Impure Functions

▣ Chapter 13: Scope
13.1 What is a scope?
13.2 Types of Scopes
____13.2.1 Global and Global Scope
____13.2.2 Regions and Regional Scopes
13.3 Scope Chain
____13.3.1 Variable lookup by scope chain
____13.3.2 Function lookup by scope chain
13.4 Function-Level Scope
13.5 Lexical Scope

▣ Chapter 14: Problems with Global Variables
14.1 Variable Life Cycle
____14.1.1 Life Cycle of Local Variables
____14.1.2 Life Cycle of Global Variables
14.2 Problems with global variables
14.3 How to suppress the use of global variables
____14.3.1 Immediately Executed Functions
____14.3.2 Namespace Objects
____14.3.3 Module Pattern
____14.3.4 ES6 Modules

▣ Chapter 15: let, const keywords and block-level scope
15.1 Problems with variables declared with the var keyword
____15.1.1 Allowing duplicate variable declarations
____15.1.2 Function-level scope
____15.1.3 Variable Hoisting
15.2 let keyword
____15.2.1 Avoid duplicate variable declarations
____15.2.2 Block-level scope
____15.2.3 Variable Hoisting
____15.2.4 Global Objects and let
15.3 const keyword
____15.3.1 Declaration and Initialization
____15.3.2 No reassignment
____15.3.3 Constants
____15.3.4 const keyword and objects
15.4 var vs.
let vs.
const

▣ Chapter 16: Property Attributes
16.1 Internal slots and internal methods
16.2 Property Attributes and Property Descriptor Objects
16.3 Data Properties and Accessor Properties
____16.3.1 Data Properties
____16.3.2 Accessor Properties
16.4 Property Definitions
16.5 Preventing Object Changes
____16.5.1 Prohibit object extensions
____16.5.2 Sealing Objects
____16.5.3 Freezing Objects
____16.5.4 Immutable Objects

▣ Chapter 17: Object Creation by Constructor Function
17.1 Object constructor function
17.2 Constructor functions
____17.2.1 Problems with object creation using object literals
____17.2.2 Advantages of object creation using constructor functions
____17.2.3 Instance creation process of constructor function
____17.2.4 Internal methods [[Call]] and [[Construct]]
____17.2.5 Distinction between constructors and non-constructors
____17.2.6 new operator
____17.2.7 new.target

▣ Chapter 18: Functions and First-Class Objects
18.1 First-class objects
18.2 Properties of Function Objects
____18.2.1 arguments property
____18.2.2 caller property
____18.2.3 length property
____18.2.4 name property
____18.2.5 __proto__ accessor property
____18.2.6 prototype property

▣ Chapter 19: Prototype
19.1 Object-Oriented Programming
19.2 Inheritance and Prototypes
19.3 Prototype Objects
____19.3.1 __proto__ accessor property
____19.3.2 The prototype property of a function object
____19.3.3 Prototype's constructor property and constructor function
19.4 Constructor functions and prototypes of objects created by literal notation
19.5 When to Create a Prototype
____19.5.1 User-Defined Constructor Functions and Prototype Creation Points
____19.5.2 Built-in constructor functions and prototype creation points
19.6 Object Creation Method and Prototype Determination
____19.6.1 Prototypes of objects created by object literals
____19.6.2 Prototype of an object created by the Object constructor function
____19.6.3 Prototype of an object created by a constructor function
19.7 Prototype Chain
19.8 Overriding and Property Shadowing
19.9 Replacement of the prototype
____19.9.1 Replacing prototypes by constructor functions
____19.9.2 Replacing prototypes by instances
19.10 instanceof operator
19.11 Direct inheritance
____19.11.1 Direct inheritance by Object.create
____19.11.2 Direct inheritance by __proto__ inside object literals
19.12 Static Properties/Methods
19.13 Checking for property existence
____19.13.1 in operator
____19.13.2 Object.prototype.hasOwnProperty method
19.14 Property Enumeration
____19.14.1 for...in statement
____19.14.2 Object.keys/values/entries methods

▣ Chapter 20: Strict Mode
20.1 What is strict mode?
20.2 Applying strict mode
20.3 Avoid applying strict mode globally
20.4 Avoid applying strict mode on a per-function basis
20.5 Errors caused by strict mode
____20.5.1 Implicit Global
____20.5.2 Deleting variables, functions, and parameters
____20.5.3 Duplicate parameter names
____20.5.4 Using with Inquiry
20.6 Changes due to strict mode
____20.6.1 this of general functions
____20.6.2 arguments object

▣ Chapter 21: Built-in Objects
21.1 Classification of JavaScript Objects
21.2 Standard Built-in Objects
21.3 Primitives and Wrapper Objects
21.4 Global Objects
____21.4.1 Built-in global properties
____21.4.2 Built-in global functions
____21.4.3 Implicit Global

▣ Chapter 22: this
22.1 this keyword
22.2 Function calling style and this binding
____22.2.1 General function calls
____22.2.2 Method Calls
____22.2.3 Calling the constructor function
____22.2.4 Indirect calls by Function.prototype.apply/call/bind methods

▣ Chapter 23: Execution Context
23.1 Types of source code
23.2 Evaluation and Execution of Source Code
23.3 The Role of Execution Context
23.4 Execution Context Stack
23.5 Lexical Environment
23.6 Creation of execution context and identifier search process
____23.6.1 Creating a global object
____23.6.2 Global Code Evaluation
____24.6.3 Global Code Execution
____24.6.4 Evaluating the foo function code
____23.6.5 Executing the foo function code
____23.6.6 Evaluating the bar function code
____23.6.7 Executing the bar function code
____23.6.8 bar function code execution ends
____23.6.9 foo function code execution ends
____23.6.10 End of global code execution
23.7 Execution Context and Block-Level Scope

▣ Chapter 24: Closure
24.1 Lexical Scope
24.2 Internal slots of function objects [[Environment]]
24.3 Closures and Lexical Environments
24.4 Using closures
24.5 Encapsulation and Information Hiding
24.6 Common Mistakes

▣ Chapter 25: Classes
25.1 Are classes just syntactic sugar for prototypes?
25.2 Class Definition
25.3 Class Hoisting
25.4 Creating an Instance
25.5 Method
____25.5.1 constructor
____25.5.2 Prototype Methods
____25.5.3 Static Methods
____25.5.4 Difference between static methods and prototype methods
____25.5.5 Characteristics of methods defined in a class
25.6 Class instance creation process
25.7 Properties
____25.7.1 Instance Properties
____25.7.2 Accessor Properties
____25.7.3 Suggested Class Field Definitions
____25.7.4 Proposed private field definition
____25.7.5 Proposed static field definition
25.8 Class Extension by Inheritance
____25.8.1 Class inheritance and constructor function inheritance
____25.8.2 extends keyword
____25.8.3 Dynamic Inheritance
____25.8.4 Constructor of a subclass
____25.8.5 super keyword
____25.8.6 Process of creating an instance of an inherited class
____25.8.7 Extending Standard Built-in Constructor Functions

▣ Chapter 26: Additional Features of ES6 Functions
26.1 Classification of functions
26.2 Method
26.3 Arrow functions
____26.3.1 Defining Arrow Functions
____26.3.2 Differences between arrow functions and regular functions
____26.3.3 this
____26.3.4 super
____26.3.5 arguments
26.4 Rest Parameters
____26.4.1 Basic Grammar
____26.4.2 Rest parameters and arguments object
26.5 Parameter Default Values

▣ Chapter 27: Arrays
27.1 What is an array?
27.2 JavaScript arrays are not arrays
27.3 The length property and sparse arrays
27.4 Creating an Array
____27.4.1 Array Literals
____27.4.2 Array constructor function
____27.4.3 Array.of
____27.4.4 Array.from
27.5 Referencing Array Elements
27.6 Adding and Updating Array Elements
27.7 Deleting an array element
27.8 Array Methods
____27.8.1 Array.isArray
____27.8.2 Array.prototype.indexOf
____27.8.3 Array.prototype.push
____27.8.4 Array.prototype.pop
____27.8.5 Array.prototype.unshift
____27.8.6 Array.prototype.shift
____27.8.7 Array.prototype.concat
____27.8.8 Array.prototype.splice
____27.8.9 Array.prototype.slice
____27.8.10 Array.prototype.join
____27.8.11 Array.prototype.reverse
____27.8.12 Array.prototype.fill
____27.8.13 Array.prototype.includes
____27.8.14 Array.prototype.flat
27.9 Higher-order array functions
____27.9.1 Array.prototype.sort
____27.9.2 Array.prototype.forEach
____27.9.3 Array.prototype.map
____27.9.4 Array.prototype.filter
____27.9.5 Array.prototype.reduce
____27.9.6 Array.prototype.some
____27.9.7 Array.prototype.every
____27.9.8 Array.prototype.find
____27.9.9 Array.prototype.findIndex
____27.9.10 Array.prototype.flatMap

▣ Chapter 28: Number
28.1 Number constructor function
28.2 Number Properties
____28.2.1 Number.EPSILON
____28.2.2 Number.MAX_VALUE
____28.2.3 Number.MIN_VALUE
____28.2.4 Number.MAX_SAFE_INTEGER
____28.2.5 Number.MIN_SAFE_INTEGER
____28.2.6 Number.POSITIVE_INFINITY
____28.2.7 Number.NEGATIVE_INFINITY
____28.2.8 Number.NaN
28.3 Number Methods
____28.3.1 Number.isFinite
____28.3.2 Number.isInteger
____28.3.3 Number.isNaN
____28.3.4 Number.isSafeInteger
____28.3.5 Number.prototype.toExponential
____28.3.6 Number.prototype.toFixed
____28.3.7 Number.prototype.toPrecision
____28.3.8 Number.prototype.toString

▣ Chapter 29: Math
29.1 Math Properties
____29.1.1 Math.PI
29.2 Math Methods
____29.2.1 Math.abs
____29.2.2 Math.round
____29.2.3 Math.ceil
____29.2.4 Math.floor
____29.2.5 Math.sqrt
____29.2.6 Math.random
____29.2.7 Math.pow
____29.2.8 Math.max
____29.2.9 Math.min

▣ Chapter 30: Date
30.1 Date constructor function
____30.1.1 new Date()
____30.1.2 new Date(milliseconds)
____30.1.3 new Date(dateString)
____30.1.4 new Date(year, month, day, hour, minute, second, millisecond])
30.2 Date Method
____30.2.1 Date.now
____30.2.2 Date.parse
____30.2.3 Date.UTC
____30.2.4 Date.prototype.getFullYear
____30.2.5 Date.prototype.setFullYear
____30.2.6 Date.prototype.getMonth
____30.2.7 Date.prototype.setMonth
____30.2.8 Date.prototype.getDate
____30.2.9 Date.prototype.setDate
____30.2.10 Date.prototype.getDay
____30.2.11 Date.prototype.getHours
____30.2.12 Date.prototype.setHours
____30.2.13 Date.prototype.getMinutes
____30.2.14 Date.prototype.setMinutes
____30.2.15 Date.prototype.getSeconds
____30.2.16 Date.prototype.setSeconds
____30.2.17 Date.prototype.getMilliseconds
____30.2.18 Date.prototype.setMilliseconds
____30.2.19 Date.prototype.getTime
____30.2.20 Date.prototype.setTime
____30.2.21 Date.prototype.getTimezoneOffset
____30.2.22 Date.prototype.toDateString
____30.2.23 Date.prototype.toTimeString
____30.2.24 Date.prototype.toISOString
____30.2.25 Date.prototype.toLocaleString
____30.2.26 Date.prototype.toLocaleTimeString
30.3 Clock Example Using Date

▣ Chapter 31: RegExp
31.1 What are regular expressions?
31.2 Creating regular expressions
31.3 RegExp Methods
____31.3.1 RegExp.prototype.exec
____31.3.2 RegExp.prototype.test
____31.3.3 String.prototype.match
31.4 Flag
31.5 pattern
____31.5.1 String Search
____31.5.2 Searching for an arbitrary string
____31.5.3 Repeated Search
____31.5.4 OR Search
____31.5.5 NOT Search
____31.5.6 Search by starting position
____31.5.7 Search by last location
31.6 Frequently used regular expressions
____31.6.1 Check if it starts with a specific word
____31.6.2 Check if it ends with a specific word
____31.6.3 Check if a string consists only of numbers
____31.6.4 Check if it starts with one or more spaces
____31.6.5 Check if ID is available
____31.6.6 Check if the email address format is correct
____31.6.7 Check if the mobile phone number format is correct
____31.6.8 Check for special characters

▣ Chapter 32: String
32.1 String constructor function
32.2 length property
32.3 String Methods
____32.3.1 String.prototype.indexOf
____32.3.2 String.prototype.search
____32.3.3 String.prototype.includes
____32.3.4 String.prototype.startsWith
____32.3.5 String.prototype.endsWith
____32.3.6 String.prototype.charAt
____32.3.7 String.prototype.substring
____32.3.8 String.prototype.slice
____32.3.9 String.prototype.toUpperCase
____32.3.10 String.prototype.toLowerCase
____32.3.11 String.prototype.trim
____32.3.12 String.prototype.repeat
____32.3.13 String.prototype.replace
____32.3.14 String.prototype.split

▣ Chapter 33: The 7th Data Type: Symbol
33.1 What is a symbol?
33.2 Generating symbol values
____33.2.1 Symbol function
____33.2.2 Symbol.for / Symbol.keyFor methods
33.3 Symbols and Constants
33.4 Symbols and Property Keys
33.5 Symbol and Property Hiding
33.6 Extending Symbols and Standard Built-in Objects
33.7 Well-known Symbol

▣ Chapter 34: Iterables
34.1 Iteration Protocol
____34.1.1 Iterables
____34.1.2 Iterators
34.2 Built-in iterables
34.3 for...of statement
34.4 Iterables and Array-Like Objects
34.5 The Need for an Iteration Protocol
34.6 User-Defined Iterables
____34.6.1 Implementing a Custom Iterable
____34.6.2 Functions that create iterables
____34.6.3 A function that creates an object that is both iterable and iterator.
____34.6.4 Infinite Iterables and Lazy Evaluation

▣ Chapter 35: Spread Grammar
35.1 When used in the argument list of a function call statement
35.2 When used inside an array literal
____35.2.1 concat
____35.2.2 splice
____35.2.3 Array Copy
____35.2.4 Converting an iterable to an array
35.3 When used inside an object literal

▣ Chapter 36: Destructuring Allocation
36.1 Array Destructuring Allocation
36.2 Object Destructuring Allocation

▣ Chapter 37: Sets and Maps
37.1 Set
____37.1.1 Creating a Set Object
____37.1.2 Check the number of elements
____37.1.3 Adding elements
____37.1.4 Checking for element existence
____37.1.5 Deleting an element
____37.1.6 Bulk Deletion of Elements
____37.1.7 Element Traversal
____37.1.8 Set operations
37.2 Map
____37.2.1 Creating a Map Object
____37.2.2 Check the number of elements
____37.2.3 Add element
____37.2.4 Element Acquisition
____37.2.5 Checking for element existence
____37.2.6 Deleting an element
____37.2.7 Bulk deletion of elements
____37.2.8 Element Traversal

▣ Chapter 38: The Browser's Rendering Process
38.1 Requests and Responses
38.2 HTTP 1.1 and HTTP 2.0
38.3 Parsing HTML and Creating the DOM
38.4 CSS Parsing and CSSOM Creation
38.5 Creating a render tree
38.6 JavaScript Parsing and Execution
38.7 Reflow and Repaint
38.8 HTML parsing interrupted by JavaScript parsing
38.9 The async/defer attribute of the script tag

▣ Chapter 39: DOM
39.1 Node
____39.1.1 HTML Elements and Node Objects
____39.1.2 Types of Node Objects
____39.1.3 Inheritance structure of node objects
39.2 Acquiring Element Nodes
____39.2.1 Obtaining element nodes using id
____39.2.2 Obtaining element nodes using tag names
____39.2.3 Obtaining element nodes using class
____39.2.4 Obtaining element nodes using CSS selectors
____39.2.5 Check if a specific element node can be acquired
____39.2.6 HTMLCollection and NodeList
39.3 Node Navigation
____39.3.1 Blank Text Node
____39.3.2 Child Node Navigation
____39.3.3 Checking for the existence of child nodes
____39.3.4 Navigating the Text Nodes of Element Nodes
____39.3.5 Parent Node Navigation
____39.3.6 Sibling Node Navigation
39.4 Obtaining Node Information
39.5 Manipulating Text in Element Nodes
____39.5.1 nodeValue
____39.5.2 textContent
39.6 DOM Manipulation
____39.6.1 innerHTML
____39.6.2 insertAdjacentHTML method
____39.6.3 Creating and Adding Nodes
____39.6.4 Creating and adding multiple nodes
____39.6.5 Inserting a Node
____39.6.6 Moving Nodes
____39.6.7 Copy Node
____39.6.8 Node Replacement
____39.6.9 Deleting a node
39.7 Attributes
____39.7.1 Attribute Nodes and the Attributes Property
____39.7.2 Manipulating HTML Attributes
____39.7.3 HTML Attributes vs. DOM Properties
____39.7.4 data attribute and dataset property
39.8 style
____39.8.1 Inline Style Manipulation
____39.8.2 Class Manipulation
____39.8.3 Reference CSS styles applied to elements
39.9 DOM Standard

▣ Chapter 40: Event
40.1 Event-Driven Programming
40.2 Event Types
____40.2.1 Mouse Events
____40.2.2 Keyboard Events
____40.2.3 Focus Event
____40.2.4 Form Events
____40.2.5 Value Change Event
____40.2.6 DOM Mutation Events
____40.2.7 View Event
____40.2.8 Resource Events
40.3 Registering an Event Handler
____40.3.1 Event Handler Attribute Method
____40.3.2 Event Handler Property Method
____40.3.3 addEventListener method
40.4 Removing an Event Handler
40.5 Event Object
____40.5.1 Inheritance structure of event objects
____40.5.2 Common properties of event objects
____40.5.3 Obtaining Mouse Information
____40.5.4 Obtaining Keyboard Information
40.6 Event Propagation
40.7 Event Delegation
40.8 Manipulating the Basic Behavior of DOM Elements
____40.8.1 Breaking the default behavior of DOM elements
____40.8.2 Preventing event propagation
40.9 this inside an event handler
____40.9.1 Event Handler Attribute Method
____40.9.2 Event handler property method and addEventListener method method
40.10 Passing Arguments to Event Handlers
40.11 Custom Event
____40.11.1 Creating a Custom Event
____40.11.2 Custom Event Dispatch

▣ Chapter 41: Timer
41.1 Call Scheduling
41.2 Timer Function
____41.2.1 setTimeout / clearTimeout
____41.2.2 setInterval / clearInterval
41.3 Debounce and Throttle
____41.3.1 Debounce
____41.3.2 Throttle

▣ Chapter 42: Asynchronous Programming
42.1 Synchronous and Asynchronous Processing
42.2 Event Loop and Task Queue

▣ Chapter 43: Ajax
43.1 What is Ajax?
43.2 JSON
____43.2.1 JSON notation
____43.2.2 JSON.stringify
____43.2.3 JSON.parse
43.3 XMLHttpRequest
____43.3.1 Creating an XMLHttpRequest Object
____43.3.2 Properties and Methods of the XMLHttpRequest Object
____43.3.3 Sending an HTTP request
____43.3.4 HTTP Response Processing

▣ Chapter 44: REST API
44.1 REST API Configuration
44.2 REST API Design Principles
44.3 REST API Practice Using JSON Server
____44.3.1 Installing JSON Server
____44.3.2 Create the db.json file
____44.3.3 Running the JSON Server
____44.3.4 GET request
____44.3.5 POST request
____44.3.6 PUT Request
____44.3.7 PATCH Request
____44.3.8 DELETE request

▣ Chapter 45: Promise
45.1 Disadvantages of the callback pattern for asynchronous processing
____45.1.1 Callback Hell
____45.1.2 Limitations of Error Handling
45.2 Creating a Promise
45.3 Follow-up methods for promises
____45.3.1 Promise.prototype.then
____45.3.2 Promise.prototype.catch
____45.3.3 Promise.prototype.finally
45.4 Error Handling in Promises
45.5 Promise Chaining
45.6 Static Methods of Promises
____45.6.1 Promise.resolve / Promise.reject
____45.6.2 Promise.all
____45.6.3 Promise.race
____45.6.4 Promise.allSettled
45.7 Microtask Queue
45.8 fetch

▣ Chapter 46: Generators and async/await
46.1 What is a generator?
46.2 Definition of a generator function
46.3 Generator Objects
46.4 Pausing and Resuming Generators
46.5 Using Generators
____46.5.1 Implementation of Iterables
____46.5.2 Asynchronous Processing
46.6 async/await
____46.6.1 async functions
____46.6.2 await keyword
____46.6.3 Error Handling

▣ Chapter 47: Error Handling
47.1 The Need for Error Handling
47.2 try...catch...finally statement
47.3 Error Object
47.4 throw statement
47.5 Propagation of errors

▣ Chapter 48: Modules
48.1 General meaning of module
48.2 JavaScript and Modules
48.3 ES6 Modules (ESM)
____48.3.1 Module Scope
____48.3.2 export keyword
____48.3.3 import keyword

▣ Chapter 49: Building an ES6+/ES.NEXT Development Environment Using Babel and Webpack
49.1 Babel
____49.1.1 Installing Babel
____49.1.2 Installing Babel presets and creating a babel.config.json configuration file
____49.1.3 Transpiling
____49.1.4 Installing Babel Plugins
____49.1.5 Testing module loading in the browser
49.2 Webpack
____49.2.1 Installing Webpack
____49.2.2 Installing babel-loader
____49.2.3 Create a webpack.config.js configuration file
____49.2.4 Installing babel-polyfill

Detailed image
Detailed Image 1

Publisher's Review
Understand the basic concepts and operating principles of JavaScript with 269 illustrations and explanations that delve into the principles!

Born with the limited purpose of handling simple auxiliary functions on web pages, JavaScript is a programming language that can feel overly friendly.
These features of JavaScript can be convenient at times, but they can also make it difficult to understand its inner workings.

But JavaScript is no longer a limited-purpose programming language.
After many changes, JavaScript has now grown into a truly universal application development language that can be used in both front-end and back-end programming.
Therefore, the way we learn JavaScript must change accordingly, and this book is designed for readers who want to learn the fundamental concepts and operating principles of JavaScript in depth.
GOODS SPECIFICS
- Date of issue: September 25, 2020
- Page count, weight, size: 956 pages | 1,820g | 188*240*39mm
- ISBN13: 9791158392239
- ISBN10: 1158392230

You may also like

카테고리