Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前端基础面试题 #34

Open
dongtianqi opened this issue Mar 17, 2020 · 0 comments
Open

前端基础面试题 #34

dongtianqi opened this issue Mar 17, 2020 · 0 comments

Comments

@dongtianqi
Copy link
Owner

dongtianqi commented Mar 17, 2020

知识点统计:
html , css :
js :
es6:
vue:
react :
router:
vuex, redux:
前端攻击:
webpack:
babel:
浏览器原理:
计算机网络:http, http2.0 , https, tcp...
linux命令:
数据结构:
nodejs:
(mysql + go + nginx + redis)

https:
http://www.ruanyifeng.com/blog/2014/02/ssl_tls.html

js :
https://juejin.im/post/5d0644976fb9a07ed064b0ca
let errorList = [11,12, 16, 17, 24,27,28,29,33,35,37]
https://juejin.im/post/5d51e16d6fb9a06ae17d6bbc
mqyqingfeng/Blog#12

vue:
https://juejin.im/post/5e649e3e5188252c06113021
https://segmentfault.com/a/1190000020637178

  1. 总结
    Set
    成员唯一、无序且不重复
    [value, value],键值与键名是一致的(或者说只有键值,没有键名)
    可以遍历,方法有:add、delete、has
    WeakSet
    成员都是对象
    成员都是弱引用,可以被垃圾回收机制回收,可以用来保存DOM节点,不容易造成内存泄漏
    不能遍历,方法有add、delete、has
    Map
    本质上是键值对的集合,类似集合
    可以遍历,方法很多可以跟各种数据格式转换
    WeakMap
    只接受对象作为键名(null除外),不接受其他类型的值作为键名
    键名是弱引用,键值可以是任意的,键名所指向的对象可以被垃圾回收,此时键名是无效的
    不能遍历,方法有get、set、has、delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant