From c88567c085146dbf64470d0ea9e3ee8ec8c2e955 Mon Sep 17 00:00:00 2001 From: JasonHomeWorkstationUbuntu Date: Sun, 10 Jan 2021 19:40:01 +1100 Subject: [PATCH] Created markdown files for different chapters --- notes/chap11_the_js_standard_library.md | 61 +++++++ notes/chap12_iterators_and_generators.md | 23 +++ notes/chap13_asynchronous_js.md | 45 +++++ notes/chap14_metaprogramming.md | 33 ++++ notes/chap15_javascript_in_web_browsers.md | 155 ++++++++++++++++++ ...chap16_server-side_javascript_with_node.md | 71 ++++++++ notes/chap4_expressions_and_operators.md | 85 ++++++++++ notes/chap5_statements.md | 59 +++++++ notes/chap6_objects.md | 21 +++ 9 files changed, 553 insertions(+) create mode 100644 notes/chap11_the_js_standard_library.md create mode 100644 notes/chap12_iterators_and_generators.md create mode 100644 notes/chap13_asynchronous_js.md create mode 100644 notes/chap14_metaprogramming.md create mode 100644 notes/chap15_javascript_in_web_browsers.md create mode 100644 notes/chap16_server-side_javascript_with_node.md create mode 100644 notes/chap4_expressions_and_operators.md create mode 100644 notes/chap5_statements.md create mode 100644 notes/chap6_objects.md diff --git a/notes/chap11_the_js_standard_library.md b/notes/chap11_the_js_standard_library.md new file mode 100644 index 0000000..11f9eeb --- /dev/null +++ b/notes/chap11_the_js_standard_library.md @@ -0,0 +1,61 @@ +# Chapter 11. The JavaScript Standard Library + +## 11.1 Sets and Maps + +### 11.1.1 The Set Class + +### 11.1.2 The Map Class + +### 11.1.3 WeakMap and WeakSet + +## 11.2 Typed Arrays and Binary Data + +### 11.2.1 Typed Array Types + +### 11.2.2 Creating Typed Arrays + +### 11.2.3 Using Typed Arrays + +### 11.2.4 Typed Array Methods and Properties + +### 11.2.5 DataView and Endianness + +## 11.3 Pattern Matching with Regular Expressions + +### 11.3.1 Defining Regular Expressions + +### 11.3.2 String Methods for Pattern Matching + +### 11.3.3 The RegExp Class + +## 11.4 Dates and Times + +### 11.4.1 Timestamps + +### 11.4.2 Data Arithmetic + +### 11.4.3 Formatting and Parsing Date Strings + +## 11.5 Error Classes + +## 11.6 JSON Serialization and Parsing + +### 11.6.1 JSON Customizations + +## 11.7 The Internationalization API + +### 11.7.1 Formatting Numbers + +### 11.7.2 Formatting Dates and Times + +### 11.7.3 Comparing Strings + +## 11.8 The Console API + +### 11.8.1 Formatted Output with Console + +## 11.9 URL APIs + +### 11.9.1 Legacy URL Functions + +## 11.10 Timers \ No newline at end of file diff --git a/notes/chap12_iterators_and_generators.md b/notes/chap12_iterators_and_generators.md new file mode 100644 index 0000000..f249803 --- /dev/null +++ b/notes/chap12_iterators_and_generators.md @@ -0,0 +1,23 @@ +# Chapter 12. Iterators and Generators + +## 12.1 How Iterators Work + +## 12.2 Implementing Iterable Objects + +### 12.2.1 “Closing” an Iterator: The Return Method + +## 12.3 Generators + +### 12.3.1 Generator Examples + +### 12.3.2 yield* and Recursive Generators + +## 12.4 Advanced Generator Features + +### 12.4.1 The Return Value of a Generator Function + +### 12.4.2 The Value of a yield Expression + +### 12.4.3 The return() and throw() Methods of a Generator + +### 12.4.4 A Final Note About Generators \ No newline at end of file diff --git a/notes/chap13_asynchronous_js.md b/notes/chap13_asynchronous_js.md new file mode 100644 index 0000000..9549ad5 --- /dev/null +++ b/notes/chap13_asynchronous_js.md @@ -0,0 +1,45 @@ +# Chapter 13. Asynchronous JavaScript + +## 13.1 Asynchronous Programming with Callbacks + +### 13.1.1 Timers + +### 13.1.2 Events + +### 13.1.4 Callbacks and Events in Node + +## 13.2 Promises + +### 13.2.1 Using Promises + +### 13.2.2 Chaining Promises + +### 13.2.3 Resolving Promises + +### 13.2.4 More on Promises and Errors + +### 13.2.5 Promises in Parallel + +### 13.2.6 Making Promises + +### 13.2.7 Promises in Sequence + +## 13.3 async and awit + +### 13.3.1 await Expression + +### 13.3.2 async Functions + +### 13.3.3 Awaiting Multiple Promises + +### 13.3.4 Implementation Details + +## 13.4 Asynchronous Iteration + +### 13.4.1 The for/await Loop + +### 13.4.2 Asynchronous Iterators + +### 13.4.3 Asynchronous Generators + +### 13.4.4 Implementing Asynchronous Iterators \ No newline at end of file diff --git a/notes/chap14_metaprogramming.md b/notes/chap14_metaprogramming.md new file mode 100644 index 0000000..d7d6a11 --- /dev/null +++ b/notes/chap14_metaprogramming.md @@ -0,0 +1,33 @@ +# Chapter 14. Metaprogramming + +## 14.1 Property Attributes + +## 14.2 Object Extensibility + +## 14.3 The prototype Attribute + +## 14.4 Well-Known Symbols + +### 14.4.1 Symbol.iterator and Symbol.asyncIterator + +### 14.4.2 Symbol.hasInstance + +### 14.4.3 Symbol.toStringTag + +### 14.4.4 Symbol.species + +### 14.4.5 Symbol.isConcatSpreadable + +### 14.4.6 Pattern-Matching Symbols + +### 14.4.7 Symbol.toPrimitive + +### 14.4.8 Symbol.unscopables + +## 14.5 Template Tags + +## 14.6 The Reflect API + +## 14.7 Proxy Objects + +### 14.7.1 Proxy Invariants \ No newline at end of file diff --git a/notes/chap15_javascript_in_web_browsers.md b/notes/chap15_javascript_in_web_browsers.md new file mode 100644 index 0000000..e8f3a6b --- /dev/null +++ b/notes/chap15_javascript_in_web_browsers.md @@ -0,0 +1,155 @@ +# Chapter 15. JavaScript in Web Browsers + +## 15.1 Web Programming Basics + +### 15.1.1 JavaScript in HTML