JavaScript this 考察 题目描述 描述信息 下面代码输出的结果是什么? var length = 10; function fn() { return this.length+1; } var obj = { length: 5, test1: function() { return fn(); } }; obj.test2=fn; //下面代码输出是什么 console.log(obj.test1()) // 11 console.log(fn()===obj.test2()) // true
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') }) async1() new Promise(function (resolve) { console.log('promise1') resolve() }).then(function () { console.log('promise2') }) console.log('script end') //script start //async1 start //async2 //promise1 //script end //async1 end //promise2 //settimeout
常规的HR面问题,没啥好说的,面了40min,有点刁钻
后面接到HR的电话,突然说要在加一轮部门交叉面
基本每一面都是秒过,隔了半小时HR就说通过了
待更新,推迟到下周一面了,求求让孩子过吧,发面经回馈社会了,许愿oc
如果可以的话,求个花花
#秋招#