ant-fe-interview

上传者: 42151599 | 上传时间: 2022-08-07 00:52:26 | 文件大小: 66KB | 文件类型: ZIP
蚂蚁采访 试题一 < ! -- 给定 CSV 文件,转换成树结构 -- > interface Person { name : string ; age: number ; parent: Person [ ] ; children: Person [ ] ; } const csv = ` name,age,parent Bob,30,David David,60, Anna,10,Bob ` ; 试题二 实现一个前端缓存模块,模块支持设置最大容量,超过容量时采用LRU机制,主要用于缓存xhr返回的结果,避免多余的网络请求浪费,要求: 生命周期为一次页面打开 如果有相同的请求同时并行发起,要求其中一个能挂起并且等待另外一个请求返回并读取该缓存 LRU机制当缓存容量达到上限时,它应该在写入新数据之前删除最久未使用的数据值,从而为新的数据值留出空间。 试题三 在一个HTM

文件下载

资源详情

[{"title":"( 29 个子文件 66KB ) ant-fe-interview","children":[{"title":"ant-fe-interview-main","children":[{"title":"03","children":[{"title":"index.html <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"display.js <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"helper.js <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"partial-redraw.js <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"cache-render.js <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"worker.js <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"02","children":[{"title":"index.html <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"cache-requset","children":[{"title":"request.js <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"helper.js <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"01","children":[{"title":"index.ts <span style='color:#111;'> 441B </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"csv-parser.ts <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"helper.ts <span style='color:#111;'> 1000B </span>","children":null,"spread":false}],"spread":true},{"title":"babel.config.js <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"helper.test.ts <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"csv-parser.test.ts <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"index.test.ts <span style='color:#111;'> 727B </span>","children":null,"spread":false}],"spread":true},{"title":"jest.config.js <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 257.91KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 903B </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明