Skip to content

Commit

Permalink
fix url path
Browse files Browse the repository at this point in the history
  • Loading branch information
LaamGinghong committed Nov 12, 2020
1 parent cef82e3 commit 0fb94d8
Show file tree
Hide file tree
Showing 15 changed files with 102 additions and 103 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ module.exports = {
},
dest: path.resolve(__dirname, "../", "../", "dist"),
base: "/FE-Essay/",
evergreen: true,
};
6 changes: 3 additions & 3 deletions docs/真题/51信用卡.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

## 说说 DOM 事件流

[DOM 事件流](https://github.com/i-want-offer/FE-Interview-questions/blob/master/JS/DOM%E4%BA%8B%E4%BB%B6.md)
[DOM 事件流](https://i-want-offer.github.io/FE-Essay/JS/DOM%E4%BA%8B%E4%BB%B6.html)

[DOM 事件流](https://juejin.im/post/5a731204f265da4e8a31b9f6#heading-2)

## 在 ES5 中实现继承

[JS 继承]([https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/extends/README.md](https://github.com/i-want-offer/FE-Interview-questions/blob/master/手写代码/extends/README.md))
[JS 继承](https://i-want-offer.github.io/FE-Essay/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/extends/)

## 绝对定位

子元素相对第一个非 static 父元素的 content 进行定位

## 防抖节流

[防抖节流]([https://github.com/i-want-offer/FE-Interview-questions/tree/master/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/dt](https://github.com/i-want-offer/FE-Interview-questions/tree/master/手写代码/dt))
[防抖节流]([https://github.com/i-want-offer/FE-Essay/tree/master/docs/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/dt)

2 changes: 1 addition & 1 deletion docs/真题/shopee、腾讯、字节面经.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. 写一个 Promise.all(功能要跟标准一样)

[手写 Promise](https://github.com/LaamGinghong/handwritten-code/blob/master/promise/promise.js)
[手写 Promise](https://i-want-offer.github.io/FE-Essay/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/promise/)

2. 只能通过 asyncAdd(a,b, callback) 这个异步方法去做加法,编写函数,参数为 Array<number>,返回参数数组的和

Expand Down
22 changes: 11 additions & 11 deletions docs/真题/头条、滴滴面试真题.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

> 浏览器缓存
[浏览器缓存](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98.md)
[浏览器缓存](https://i-want-offer.github.io/FE-Essay/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98.html)

> cookie 和 session 的区别
Expand All @@ -16,25 +16,25 @@

> csrf 和 xss
[前端安全](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%AE%89%E5%85%A8/%E5%89%8D%E7%AB%AF%E5%AE%89%E5%85%A8.md)
[前端安全](https://i-want-offer.github.io/FE-Essay/%E5%AE%89%E5%85%A8/%E5%89%8D%E7%AB%AF%E5%AE%89%E5%85%A8.html)

> 怎么防治 csrf 和 xss
[前端安全面试题](https://www.cxymsg.com/guide/security.html#xss%E5%88%86%E4%B8%BA%E5%93%AA%E5%87%A0%E7%B1%BB)

> 跨域的处理方案有哪些
[跨域](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/%E8%B7%A8%E5%9F%9F.md)
[跨域](https://i-want-offer.github.io/FE-Essay/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/%E8%B7%A8%E5%9F%9F.html)

> 对于 CORS,get 和 post 的区别
[CORS 预请求](https://juejin.im/post/5c23993de51d457b8c1f4ee1#heading-11)

> 了解 HTTPS 的过程
[HTTPS](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTPS.md)
[HTTPS](https://i-want-offer.github.io/FE-Essay/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTPS.html)

[HTTPS握手过程](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTPS%E7%9A%84%E6%8F%A1%E6%89%8B%E8%BF%87%E7%A8%8B.md)
[HTTPS握手过程](https://i-want-offer.github.io/FE-Essay/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTPS%E7%9A%84%E6%8F%A1%E6%89%8B%E8%BF%87%E7%A8%8B.html)

> webpack 性能优化
Expand All @@ -46,7 +46,7 @@

> es module 和 common js 的区别
[模块化](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%A8%A1%E5%9D%97%E5%8C%96/%E5%89%8D%E7%AB%AF%E6%A8%A1%E5%9D%97%E5%8C%96%EF%BC%9ACommonJS%2C%20AMD%2C%20CMD%2C%20ES6.md)
[模块化](https://i-want-offer.github.io/FE-Essay/%E6%A8%A1%E5%9D%97%E5%8C%96/%E6%B7%B1%E5%BA%A6%E5%89%96%E6%9E%90JavaScript%20ES5:AMD:CMD:COMMONJS:ES6%E6%A8%A1%E5%9D%97%E5%8C%96.html)

[前端模块化:CommonJS, AMD, CMD, ES6](https://juejin.im/post/5aaa37c8f265da23945f365c)

Expand All @@ -66,7 +66,7 @@

> 手写 new
[手写 new](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/new/README.md)
[手写 new](https://i-want-offer.github.io/FE-Essay/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/new/)

> 写一个函数处理 JS 精度问题
Expand All @@ -87,7 +87,7 @@

> 手写 es 继承
[js寄生组合继承](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/extends/README.md)
[js寄生组合继承](https://i-want-offer.github.io/FE-Essay/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/extends/)

> 手写大数相乘
Expand Down Expand Up @@ -125,7 +125,7 @@ function multiply(num1, num2) {
> 手写防抖函数
[手写防抖函数](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/dt/debounce.js)
[手写防抖函数](https://github.com/i-want-offer/FE-Essay/blob/master/docs/%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81/dt/debounce.js)

> 算法:[扑克牌中的顺子](https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof/)
Expand All @@ -137,11 +137,11 @@ function multiply(num1, num2) {

> webpack 原理
[webpack工作原理](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%A8%A1%E5%9D%97%E5%8C%96/webpack%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86.md)
[webpack工作原理](https://i-want-offer.github.io/FE-Essay/%E6%A8%A1%E5%9D%97%E5%8C%96/webpack%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86.html)

> babel 原理
[babel原理](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E6%A8%A1%E5%9D%97%E5%8C%96/babel%E5%8E%9F%E7%90%86.md)
[babel原理](https://i-want-offer.github.io/FE-Essay/%E6%A8%A1%E5%9D%97%E5%8C%96/babel%E5%8E%9F%E7%90%86.html)

> 虚拟 DOM 的理解
Expand Down
28 changes: 14 additions & 14 deletions docs/真题/有赞.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@

## CSS 选择器以及这些选择器的优先级

[CSS选择器](https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/CSS%E9%80%89%E6%8B%A9%E5%99%A8.md)
[CSS选择器](https://i-want-offer.github.io/FE-Essay/CSS/CSS%E9%80%89%E6%8B%A9%E5%99%A8.html)

## BFC

[CSS BFC](https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/BFC.md)
[CSS BFC](https://i-want-offer.github.io/FE-Essay/CSS/BFC.html)

## 盒模型

[CSS Box]([https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/%E7%9B%92%E6%A8%A1%E5%9E%8B.md](https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/盒模型.md))
[CSS Box](https://i-want-offer.github.io/FE-Essay/CSS/%E7%9B%92%E6%A8%A1%E5%9E%8B.html)

## 如何实现左侧宽度固定,右侧宽度自适应的布局

> 面试官会要求多种方法
[两栏布局]([https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/%E4%B8%A4%E6%A0%8F%E5%B8%83%E5%B1%80.md](https://github.com/i-want-offer/FE-Interview-questions/blob/master/CSS/两栏布局.md))
[两栏布局](https://i-want-offer.github.io/FE-Essay/CSS/%E4%B8%A4%E6%A0%8F%E5%B8%83%E5%B1%80.html)

## 了解跨域吗,一般什么情况会导致跨域

> 小提示:如果平常自身有使用场景可结合使用场景进行讲解
[前端通信]([https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/%E8%B7%A8%E5%9F%9F.md](https://github.com/i-want-offer/FE-Interview-questions/blob/master/前后端通信/跨域.md))
[前端通信](https://i-want-offer.github.io/FE-Essay/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/%E8%B7%A8%E5%9F%9F.html)

### JSONP 的安全性问题

[jsonp安全问题](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%AE%89%E5%85%A8/jsonp%E5%AE%89%E5%85%A8%E9%97%AE%E9%A2%98.md)
[jsonp安全问题](https://i-want-offer.github.io/FE-Essay/%E5%AE%89%E5%85%A8/jsonp%E5%AE%89%E5%85%A8%E9%97%AE%E9%A2%98.html)

## HTTP2 和 HTTP1 有什么区别

[HTTP各版本](https://github.com/i-want-offer/FE-Interview-questions/blob/master/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTP%E7%89%88%E6%9C%AC.md)
[HTTP各版本](https://i-want-offer.github.io/FE-Essay/%E5%89%8D%E5%90%8E%E7%AB%AF%E9%80%9A%E4%BF%A1/HTTP%E7%89%88%E6%9C%AC.html)

## 你能说说缓存吗

[强缓存与协商缓存](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E7%BC%93%E5%AD%98.md)
[强缓存与协商缓存](https://i-want-offer.github.io/FE-Essay/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E6%B5%8F%E8%A7%88%E5%99%A8%E7%BC%93%E5%AD%98.html)

## 能说说首屏加载优化有哪些方案吗

Expand All @@ -49,25 +49,25 @@

> 类似的问题还可以是原型链、继承、闭包等
[执行上下文](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/JS/%E6%89%A7%E8%A1%8C%E4%B8%8A%E4%B8%8B%E6%96%87.md)
[执行上下文](https://i-want-offer.github.io/FE-Essay/JS/%E6%89%A7%E8%A1%8C%E4%B8%8A%E4%B8%8B%E6%96%87.html)

## 你知道 null 和 undefined 有什么区别吗

[JS 数据类型](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/JS/js.md)
[JS 数据类型](https://i-want-offer.github.io/FE-Essay/JS/js.html)

## 你知道闭包有什么作用

[闭包介绍](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/JS/%E6%89%A7%E8%A1%8C%E4%B8%8A%E4%B8%8B%E6%96%87.md)
[闭包介绍](https://i-want-offer.github.io/FE-Essay/JS/JavaScript%E6%B7%B1%E5%85%A5%E7%B3%BB%E5%88%97/%E9%97%AD%E5%8C%85.html)

## 了解 Event Loop 么

[JS 事件循环](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/JS/JS%20%E7%9B%B8%E5%85%B3.md)
[JS 事件循环](https://i-want-offer.github.io/FE-Essay/JS/%E4%BA%8B%E4%BB%B6%E5%BE%AA%E7%8E%AF.html)

## 如何避免回流和重绘

[浏览器渲染机制](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/HTML/%E6%B8%B2%E6%9F%93%E6%9C%BA%E5%88%B6.md)
[浏览器渲染机制](https://i-want-offer.github.io/FE-Essay/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B8%B2%E6%9F%93/%E6%B8%B2%E6%9F%93%E6%9C%BA%E5%88%B6.html)

[重排和重绘](https://github.com/LaamGinghong/FE-Interview-questions/blob/master/HTML/%E9%87%8D%E6%8E%92%E9%87%8D%E7%BB%98.md)
[重排和重绘](https://i-want-offer.github.io/FE-Essay/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B8%B2%E6%9F%93/%E9%87%8D%E6%8E%92%E9%87%8D%E7%BB%98.html)

# 二面

Expand Down
2 changes: 1 addition & 1 deletion docs/真题/有赞(有赞美业).md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 浏览器事件循环的方式

[事件循环(浏览器)](https://github.com/i-want-offer/FE-Interview-questions/blob/master/JS/Event%20Loop%EF%BC%88%E6%B5%8F%E8%A7%88%E5%99%A8%EF%BC%89.md)
[事件循环(浏览器)](https://i-want-offer.github.io/FE-Essay/JS/Event-Loop%EF%BC%88%E6%B5%8F%E8%A7%88%E5%99%A8%EF%BC%89.html)

## 宏任务和微任务如何划分

Expand Down
Loading

0 comments on commit 0fb94d8

Please sign in to comment.