关于面试大前端(node全栈)面试

this指向

https://www.cnblogs.com/pssp/...css

call、Apply、Bind

https://www.cnblogs.com/pssp/...html

异步

https://github.com/ElemeFE/no...
① Promise
② Async/awaitnode

setTimeout和Promise的执行顺序

Promise比setTimeout()先执行。由于Promise定义以后便会当即执行,其后的.then()是异步里面的微任务。而setTimeout()是异步的宏任务。
https://blog.csdn.net/zlzbt/a...
https://zhuanlan.zhihu.com/p/...git

let 和 var 区别,const

var不能用于定义常量;var能够重复声明变量;var存在变量提高;var不支持块级做用域github

正则

https://juejin.im/post/596594...redis

什么是跨域请求? 如何容许跨域?

向不一样 host 的请求被称做跨域请求 ,能够经过设置 CORS headers 即 Access-Control-Allow- 系列来容许跨域算法

cookie 与 session 的区别? 服务端如何清除 cookie?

主要区别在于, session 存在服务端, cookie 存在客户端. session 比 cookie 更安全. 并且 cookie 不必定一直能用 (可能被浏览器关掉). 服务端能够经过设置 cookie 的值为空并设置一个及时的 expires 来清除存在客户端上的 cookie.sql

Class

module.exports 与 exports 的区别解释

exports 是一个引用,直接赋值给它,只是让这个变量等于另一个引用,因此 只有经过 module.exports 才能真正修改到 exports 自己跨域

并行、并发

并发 (Concurrent) = 2 队列对应 1 咖啡机.
并行 (Parallel) = 2 队列对应 2 咖啡机. node.js 并行能够经过cluster实现
https://www.jianshu.com/p/078...
https://github.com/ElemeFE/no...浏览器

Css

https://github.com/haizlin/fe-interview/blob/master/category/css.md

JS

https://github.com/HerbertKarajan/Fe-Interview-questions

Vue

https://www.cnblogs.com/wangking/p/9598899.html

Web

https://github.com/HerbertKarajan/Fe-Interview-questions/tree/master/21-Front-end-Interview-questions

HTML + CSS + JS + ES6 + Webpack + Vue + React + Node + HTTPS + 数据结构与算法 + Git

https://github.com/biaochenxuying/blog/blob/master/interview/fe-interview.md

ES6/7/8

https://www.jianshu.com/p/390a65d7a353

Docker、zookeeper 、rabbitmq/kafka、socketio、cluster、redis、postgresql

相关文章
相关标签/搜索