字节跳动抖音前端二面(凉经)
太难了。。是我不配。。
1.移动端适配
2.浏览器渲染以下css有什么区别
position: relative , left: 10px
transform: translateX(
transform: translate3d(
没了解过555
3.
<body>
<div class="parent">
<div class="child">
....
</div>
</div>
</body>
.parent {
margin-top: 20px;
background: red;
}
.child {
margin-top: 40px;
background: yellow;
}
parent和child与顶部的距离是多少
4.
function isEmptyObject(input) {
// return boolean
}
如果对象为空返回true,其他情况返回false
5.给定一棵二元查找树,实现左右子树反转 用栈怎么实现
6.实现一个lodash的get函数 听都没听过。。