度小满内推!
度小满科技(北京)有限公司校招内推码: WY3SQNT
投递链接: https://duxiaoman.jobs.feishu.cn/s/Ypiz4h0Pujw
#校招##秋招##大厂##度小满#
帮看进度
投递链接: https://duxiaoman.jobs.feishu.cn/s/Ypiz4h0Pujw
#校招##秋招##大厂##度小满#
帮看进度
全部评论
礼貌取码
相关推荐
点赞 评论 收藏
分享
球球与墩墩:这不是前端常考的对象扁平化吗,面试官像是前端出来的
const flattern = (obj) => {
const res = {};
const dfs = (curr, path) => {
if(typeof curr === 'object' && curr !== null) {
const isArray = Array.isArray(curr);
for(let key in curr) {
const newPath = path ? isArray ? `${path}[${key}]` : `${path}.${key}` : key;
dfs(curr[key], newPath);
}
} else {
res[path] = curr
}
}
dfs(obj);
return res;
}
查看3道真题和解析 点赞 评论 收藏
分享
求求给个offer我...:一群老登,当初自己是怎么进去的没点数吗?当初自己可能连C++都不会写就进去了吧?现在对候选人挑三拣四地选妃 点赞 评论 收藏
分享