mirror of
				https://github.com/KieSun/all-of-frontend.git
				synced 2025-05-29 01:49:23 +08:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									b310e275e3
								
							
						
					
					
						commit
						13ef9143cc
					
				
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							@ -89,17 +89,6 @@ JS 数据类型分为两大类及八种数据类型,注意别漏了 ES6 新增
 | 
				
			|||||||
- [ ] 推荐文章
 | 
					- [ ] 推荐文章
 | 
				
			||||||
  - [ ] [You Don't Know JS 书中关于类型转换的一章节](https://github.com/weiqinl/You-Dont-Know-JS-CN/blob/master/types%20%26%20grammar/ch4.md)
 | 
					  - [ ] [You Don't Know JS 书中关于类型转换的一章节](https://github.com/weiqinl/You-Dont-Know-JS-CN/blob/master/types%20%26%20grammar/ch4.md)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Class(类)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
ES6 提供了更接近面向对象(javascript 本质上是基于对象的语言)语言的写法,引入了 Class(类)这个概念,作为对象的模板。通过 class 关键字,可以定义类。 基本上,ES6 的 class 可以看作只是一个语法糖,它的绝大部分功能,ES5 都可以做到,新的 class 写法只是让对象原型的写法更加清晰、更像面向对象编程的语法而已
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
- [ ] 文档
 | 
					 | 
				
			||||||
  - [ ] [Class](https://developer.mozilla.org/en-US/docs/Glossary/Class)
 | 
					 | 
				
			||||||
- [ ] 推荐文章
 | 
					 | 
				
			||||||
  - [ ] [理解 JavaScript 的类](https://www.digitalocean.com/community/tutorials/understanding-classes-in-javascript)
 | 
					 | 
				
			||||||
  - [ ] [Babel 是如何编译 Class 上](https://github.com/mqyqingfeng/Blog/issues/105)
 | 
					 | 
				
			||||||
  - [ ] [Babel 是如何编译 Class 下](https://github.com/mqyqingfeng/Blog/issues/106)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### this
 | 
					### this
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`this` 算是不少初学者容易搞混的一个知识点,但是它很重要,务必掌握。
 | 
					`this` 算是不少初学者容易搞混的一个知识点,但是它很重要,务必掌握。
 | 
				
			||||||
@ -146,6 +135,19 @@ ES6 提供了更接近面向对象(javascript 本质上是基于对象的语
 | 
				
			|||||||
  - [ ] [JS 的 new 到底是干什么的?](https://zhuanlan.zhihu.com/p/23987456)
 | 
					  - [ ] [JS 的 new 到底是干什么的?](https://zhuanlan.zhihu.com/p/23987456)
 | 
				
			||||||
  - [ ] [JavaScript 深入之 new 的模拟实现](https://github.com/mqyqingfeng/Blog/issues/13)
 | 
					  - [ ] [JavaScript 深入之 new 的模拟实现](https://github.com/mqyqingfeng/Blog/issues/13)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Class(类)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					`class` 只是原型链的语法糖,与其它语言中的类不是同一样东西。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [ ] 文档
 | 
				
			||||||
 | 
					  - [ ] [Class](https://developer.mozilla.org/en-US/docs/Glossary/Class)
 | 
				
			||||||
 | 
					- [ ] 推荐文章
 | 
				
			||||||
 | 
					  - [ ] [理解 JavaScript 的类](https://www.digitalocean.com/community/tutorials/understanding-classes-in-javascript)
 | 
				
			||||||
 | 
					  - [ ] [Babel 是如何编译 Class 上](https://github.com/mqyqingfeng/Blog/issues/105)
 | 
				
			||||||
 | 
					  - [ ] [Babel 是如何编译 Class 下](https://github.com/mqyqingfeng/Blog/issues/106)
 | 
				
			||||||
 | 
					  - [ ] [给 ES6 class 说句公道话](https://juejin.cn/post/6924108426125508616)
 | 
				
			||||||
 | 
					  - [ ] [应该在JavaScript中使用Class吗?](https://zhuanlan.zhihu.com/p/158956514)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### 事件循环
 | 
					### 事件循环
 | 
				
			||||||
 | 
					
 | 
				
			||||||
大家都知道 JS 是一门单线程的非阻塞的脚本语言。这也就意味着,代码在执行的任何时候只有一个主线程来处理所有的任务。所以弄懂事件循环机制对我们学习 JS 至关重要。
 | 
					大家都知道 JS 是一门单线程的非阻塞的脚本语言。这也就意味着,代码在执行的任何时候只有一个主线程来处理所有的任务。所以弄懂事件循环机制对我们学习 JS 至关重要。
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user