前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【求职】字节跳动 前端

【求职】字节跳动 前端

作者头像
瑞新
发布2020-07-07 18:04:34
4030
发布2020-07-07 18:04:34
举报
  • 浏览器缓存
  • 事件循环
  • 输入url到页面现实过程
  • transition和animation性能比较(应该问的是复合图层相关)
  • promise实现原理
  • getElementById和querySelector的区别和性能
  • 箭头函数
  • generator,async,let,const
  • csrf
  • 节流防抖
  • 闭包
  • dom树转换成对象(虚拟dom树的构建)
  • 二叉树节点有0和1,将0的去除(leetcode第一题)
  • flex布局
  • https原理
  • vue双向绑定原理
  • key,diff算法
  • 算法(数组中两个值的和等于给定值,最好有最优解)
  • 性能优化
  • async function async1() { console.log('async1 start'); await async2(); console.log('async1 end'); } async function async2() { console.log('async2'); } console.log('script start'); setTimeout(function() { console.log('setTimeout'); }, 0); async1(); new Promise(function(resolve) { console.log('promise1'); resolve(); } ).then(function() { console.log('promise2'); }); console.log('script end');
  • document.body.addEventListener('click', () => { Promise.resolve().then(()=>console.log(1)); console.log(2) }); document.body.addEventListener('click', () => { Promise.resolve().then(()=>console.log(3)); console.log(4) });
  • promise.all方法实现,类似的finally done race

求职必备刷题官网:https://github.com/bennyrhys/interview

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-06-18 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档