-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
501 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,8 @@ nav: | |
* 24.反转链表II | ||
* 25.判断两个数组内容相等 | ||
* 26.最长连续序列 | ||
* 27.二叉搜索树中第k小的元素 | ||
* 28.查找有序二维数组的目标值 | ||
*/ | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: 20240326积累面试 | ||
order: 37 | ||
group: | ||
order: 0 | ||
title: interview | ||
nav: | ||
order: 3 | ||
title: 'interview' | ||
path: /interview | ||
--- | ||
|
||
## 八股 | ||
|
||
- flex: 1 表示什么意思 | ||
- 如何避免 CSS 污染 | ||
- 在 CSS3 中举几个可以继承的属性,和不可以继承属性? | ||
- Es5 的继承和 Es6 除了写法以外还有什么区别 | ||
- 构造函数和 class 类的区别? | ||
|
||
> 本质上 es5 和 es6 写法上的区别 | ||
-- 1.class 声明会提升但不会赋值,在 class 定义前 new 会报错,类似 let const 的暂时性死区,而构造函数阔以先 new,在调用 | ||
|
||
-- 2.1 es6 继承,必须先调用 super(this),为啥要这样,是因为这一步会创建一个继承父类的 this 对象,所以是先继承,后创建实例,直白说就是:先将父类的属性和方法加到一个空对象上,然后再将该对象作为子类的实例 | ||
|
||
-- 2.2.es5 继承:先创建实例,在继承,先创建一个独立的子类实例对象,再将父类的方法添加到这个对象上 | ||
|
||
- sse 和 websocket 区别? | ||
- 宏和语法糖的区别? | ||
- JS 中各循环的性能对比? | ||
- 如何删除 Cookie | ||
- 深挖 BFC/文档流 | ||
- 内存泄漏是什么,如何排查,如何避免 | ||
- HTTP 长链接优点? | ||
- HTTPS 的原理 | ||
- CDN 容灾方案怎么做? | ||
- CORS 解决跨域时,后端如何判断前端是否合法? | ||
|
||
## 手写 | ||
|
||
- 手写 JSON.stringify 和 手写 JSON.parse | ||
- 实现加减乘除链式调用, 类似 jQuery 式用法 | ||
- 实现验证码倒计时 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.