From b310e275e3d24e37f664efde221b45f0ffa07794 Mon Sep 17 00:00:00 2001 From: Brave-Jason Date: Tue, 14 Sep 2021 13:42:22 +0000 Subject: [PATCH] Commit from GitHub Actions (markdown-autodocs) --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d84fce0..978cf99 100644 --- a/README.md +++ b/README.md @@ -89,18 +89,17 @@ JS 数据类型分为两大类及八种数据类型,注意别漏了 ES6 新增 - [ ] 推荐文章 - [ ] [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写法只是让对象原型的写法更加清晰、更像面向对象编程的语法而已 +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) + - [ ] [理解 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` 算是不少初学者容易搞混的一个知识点,但是它很重要,务必掌握。 @@ -205,7 +204,6 @@ ES6提供了更接近面向对象(javascript本质上是基于对象的语言 - [How We Build Micro Frontends](https://blog.bitsrc.io/how-we-build-micro-front-ends-d3eeeac0acfc) - [Revolutionizing Micro Frontends with Webpack 5, Module Federation and Bit](https://blog.bitsrc.io/revolutionizing-micro-frontends-with-webpack-5-module-federation-and-bit-99ff81ceb0) - ## 十五万字面试资料 [在线阅读](https://yuchengkai.cn/home/)