JS basic knowledge summary
Chapter 2 JS Basics-Variable Types and Calculations [No variables, don't say you know JS] https://blog.csdn.net/Sabrina_cc/article/details/105449535
Chapter 3 JS Basics-Prototype and Prototype Chain [One of the three mountains, must be tested! 】 Https://blog.csdn.net/Sabrina_cc/article/details/105492600
Chapter IV JS basis - Scope and closure of the two [three big mountains, not closure, will not pass the basic] https://blog.csdn.net/Sabrina_cc/article/details/105496638
Chapter 5 JS Basics-Asynchronous [Three of the three mountains, must be tested! 】 Https://blog.csdn.net/Sabrina_cc/article/details/105509219
Content summary
- Variable types and calculations
- Prototype and prototype chain
- Scope and closure
- Asynchronous and single thread
Topic summary
- Typeof can judge those types?
- When to use == and ===?
- What is the difference between value type and reference type?
- Handwritten deep copy?
- How to accurately judge whether a variable is an array?
- Handwritten simple jQuery, considering plug-ins and scalability?
- How to understand the essence of Class prototype?
- This is no application scenario?
- Handwriting bind function?
- Application scenarios of closures in actual development, for example
- Create 10 a tags, click to pop up the corresponding serial number
- The difference between asynchronous and synchronous
- Handwriting promise to load pictures
- What are the scenarios where the front end uses asynchronous?
- Scene Question Timer
Knowledge point
- Value type vs reference type, stack model, deep copy
- Typeof operator
- Type conversion Truly and falsely variable
- Class and inheritance, combined with handwritten jQuery example understanding
- Instanceof
- Prototype and prototype chain: illustration & execution rules
- Scope and free variables
- Closures: two common ways & free variable search rules
- This
- The difference between single thread and asynchronous, asynchronous and synchronous
- Front-end asynchronous application scenarios: network requests & scheduled tasks
- Promise to solve Callback hell