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

[面经]-[美团点评]-[金融部门]-[2020.03.31] #20

Open
L1116 opened this issue Mar 31, 2020 · 0 comments
Open

[面经]-[美团点评]-[金融部门]-[2020.03.31] #20

L1116 opened this issue Mar 31, 2020 · 0 comments
Labels

Comments

@L1116
Copy link
Collaborator

L1116 commented Mar 31, 2020

js

  1. 打印顺序,讲出原理
const first = () => (new Promise((resovle,reject)=>{
    console.log(3);
    let p = new Promise((resovle, reject)=>{
          console.log(7);
        setTimeout(()=>{
           console.log(5);
           resovle(6); 
        },0)
        resovle(1);
    }); 
    resovle(2);
    p.then((arg)=>{
        console.log(arg);
    });

}));

first().then((arg)=>{
    console.log(arg);
});
console.log(4);
  1. 一个数组里都是promise任务,串行执行 ,即一个任务执行完之后再执行另一个,每个的执行结果都要保存
  2. 实现new

CSS

  1. 鼠标悬浮在一个div元素上,会有toolip(提示消息)出现,可以设置top,left,right,bottom,决定toolip的定位,不使用js,仅用css实现

<div tooltip="Welcome to Meituan" position="bottom">Here is your Message</div>

css 如何获取当前鼠标悬浮的元素 ,没有id,没有class

  1. css布局
    (1)实现一个header,left,right布局;header宽度100%,left和right宽度各占一半,宽度大小自适应
    (2)实现一个“品”字布局,三个div大小相同,都是正方形

  2. 页面逻辑加载?? 大概意思是,优先渲染用户比较关心的内容,像一些不重要的提示,侧边栏放在后边渲染,如何实现?

  3. rem是什么? 与px的关系

计算机网络

  1. 304
  2. 206
  3. 如何实现文件的断点上传
  4. http2的特点
  5. http2多路复用和http1.1长连接的区别
  6. XSS攻击,具体是怎么攻击的?如果再一段html代码中注入js代码
  7. csp了解过吗

项目

  1. 印象深刻的项目,学到了什么
  2. 项目完成后,你就关注哪些关于项目的指标
  3. node都做过哪些工作
  4. node爬数据,爬到的数据有误如何处理?接口有误如何处理

开放题
共享屏幕的技术是如何实现的?

@L1116 L1116 added the 面经 label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant