创维-前端笔试-3.21晚

单选+多选+简答

单选里有很多很多给代码说输出,都不怎么会

被给代码说输出狠狠创s的一次笔试,累了 毁灭吧( ̄ε(# ̄)

以下结果在codepen里运行返回

console.log(2 ** 3 **2)
// 512

Promise.reject(1)
  .then(console.log)
  .catch(console.log)
  .then(console.log)
// 1 undefined
console.log((true + false) > 2 + true)
//false

var foo = function foo (){
  console.log(foo === foo)
}
foo()
// true

console.log(Array.apply(null, {length: 1}))
// [undefined]

Promise.resolve(1)
  .then(2)
  .then(Promise.resolve(3))
  .then(console.log)
// 1

function test(a) {
  const fn = (a) =>{
    console.log(arguments[0]);
    console.log(this.a);
  }
  fn(1);
}
obj = {
  a: 2
}
test.call(obj, 3);

// 3 2

简答

都是基础八股

script script async defer

浏览器缓存

数组方法find every some reduce map的用法

元素居中

斐波那契数组

最后一个开放性论述:对一个开发类似ElementUI和Ant Design这样的组件库有什么想法?

#笔经##前端#
全部评论
笔试完多久开始联系面试啊
点赞 回复
分享
发布于 2023-04-01 17:00 辽宁
在哪投的啊,没看到招实习啊
点赞 回复
分享
发布于 2023-04-02 11:03 吉林
滴滴
校招火热招聘中
官网直投
看了这个公司没看岗位开发
点赞 回复
分享
发布于 2023-04-12 23:07 福建

相关推荐

2 5 评论
分享
牛客网
牛客企业服务