Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
haigeno1 committed Aug 19, 2022
1 parent 41e4046 commit 842c43e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
12 changes: 0 additions & 12 deletions test1.js
Original file line number Diff line number Diff line change
@@ -1,12 +0,0 @@
function f(arr, target) {
let res = []
let obj = {}
for (let i = 0; i < arr.length; i++) {
obj[target - arr[i]] = arr[i]
if (obj[arr[i]] !== undefined) {
res.push([arr[i], obj[arr[i]]])
}
}
return res.length === 1
}
console.log(f([0, 1, 2, 3, 4, 8, 10, 12], 3));
18 changes: 9 additions & 9 deletions 其它/面试知识点.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Charles代理
微信小程序
小程序登录流程
mpx跨端原理 ttodo
mpx跨端原理
小程序的生命周期 vs vue的生命周期
jsbridge
地图组件库
Expand Down Expand Up @@ -73,7 +73,7 @@
各种指标,白屏时间 首屏时间
Vue
Vue3 原理
mini-vue ttodo
mini-vue
组件通讯方式
domdiff
写个vue倒计时组件
Expand All @@ -83,18 +83,18 @@ React
domdiff
写个react倒计时组件
模拟react生命周期
组件通讯方式 ttodo
组件通讯方式
redux saga异步插件
recoil与redux ttodo
vue react 对比
vite
基本原理 ttodo
基本原理
模块热更新
webpack
与vite的对比
插件
插件 ttodo
loader
优化 ttodo
优化
手写 打印 js 基础
js常见手写题
打印结果
Expand All @@ -106,14 +106,14 @@ css
实现各种布局
实现扇形
浏览器
从输入url到页面渲染的过程 ttodo
从输入url到页面渲染的过程
进程 线程
强缓存协商缓存
csrf ttodo
跨域方式
cookie相关 ttodo
cookie相关
网络
https建立的过程 ttodo
https建立的过程
tcp握手 为什么3握4挥
http 1.0 1.1 2 3 的演进 ttodo
options请求 cors
Expand Down
1 change: 0 additions & 1 deletion 工程化/封装Modal对话框组件.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// ttodo
// 1. 封装一个Modal对话框组件,输入是对话框内容html,按钮以及回调
// 直接引入antdesign的Modal即可实现3个功能。
// 如果用原生js封装,是一个class, 对话框内容html,按钮以及回调。需要创建元素并处理很多样式问题。
Expand Down

0 comments on commit 842c43e

Please sign in to comment.