{"id":18749185,"url":"https://github.com/lefex/bat","last_synced_at":"2025-10-14T17:24:05.513Z","repository":{"id":85249800,"uuid":"339563265","full_name":"lefex/bat","owner":"lefex","description":"前端大厂面试题","archived":false,"fork":false,"pushed_at":"2023-03-04T01:28:27.000Z","size":1007,"stargazers_count":69,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T23:38:37.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lefex.github.io/bat/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lefex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-16T23:52:48.000Z","updated_at":"2024-08-30T01:38:01.000Z","dependencies_parsed_at":"2023-06-02T23:49:54.036Z","dependency_job_id":null,"html_url":"https://github.com/lefex/bat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lefex/bat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefex%2Fbat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefex%2Fbat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefex%2Fbat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefex%2Fbat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lefex","download_url":"https://codeload.github.com/lefex/bat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefex%2Fbat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020080,"owners_count":26086806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T17:06:39.738Z","updated_at":"2025-10-14T17:24:05.509Z","avatar_url":"https://github.com/lefex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BAT - 大厂前端面试，卧薪尝胆，给自己定一个高难度的目标\n\nBAT代表着国内顶尖的互联网公司，包括百度、阿里、腾讯。随着这几年互联网公司不断崛起，涌现出了更多类似BAT这样的公司，成为这些公司的员工是每个前端程序员的奋斗目标。各大公司面试题层出不穷，即使你能力比较强，也可能在面试过程中失利。这个项目通过收集各大厂前端面试题，并对其进行深入剖析，拆解知识点，以了解顶尖互联网公司对顶尖人才的要求，最终希望你能够顺利拿到满意的 offer。\n\n**[网站](https://lefex.github.io/bat/)**\n\n[![cP030P.jpg](https://z3.ax1x.com/2021/03/30/cP030P.jpg)](https://imgtu.com/i/cP030P)\n\n### 目标公司\n\n面试题太多了，让你花1年的时间也不一定能刷完，其实只要搞懂顶尖互联网公司的要求即可。这个项目的目标公司是（排名不分先后）**百度、阿里、腾讯、头条、美团、拼多多、滴滴、华为、快手**。\n\n### 面试流程\n\n- 一面（面试官一般为该团队成员）\n主要考察应聘者的基础知识，比如手写算法、JS 基础、CSS；\n\n- 二面（面试官一般为该团队技术 Leader）\n\n- 三面（面试官一般为该团队经理或者技术 Leader）\n\n- 四面（面试官一般为部门经理或团队经理）\n\n- 五面（面试官一般为 HR）\n\n### 面试精选资源\n\n面试的核心不是背面试题，而是要掌握各道面试题的核心，然后把它理解到位，这样也能深入学习前端知识。\n\n#### 异步编程\n\n该专栏主要学习 Promise、event loop、microtask、task、async、await、generator。event loop 属于浏览器的特性，源码相关内容可以看 webkit，而 JS 的语言特性，需要看 JavaScript 引擎 V8 的实现。\n\n- [Promise MDN](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise)\n- [Promise/A+ 规范](https://promisesaplus.com/#notes)\n- [手写Promise](https://github.com/dream2023/blog/tree/master/2%E3%80%81promise%E5%8E%9F%E7%90%86)\n- [A polyfill for ES6-style Promises](https://github.com/stefanpenner/es6-promise)\n- [Promise/A+规范译文](https://www.ituring.com.cn/article/66566)\n- [你不知道的JS作者写的Promise](https://github.com/getify/native-promise-only)\n- [MDN yield](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/yield)\n- [Event Loop Spec](https://html.spec.whatwg.org/multipage/webappapis.html#event-loops)\n- [event loop](https://javascript.info/event-loop)\n- [queueMicrotask](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/queueMicrotask)\n- [Microtask guide](https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide)\n- [自实现微任务](https://github.com/feross/queue-microtask)\n- [microtask guide in depth](https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide/In_depth)\n- [JavaScript 运行机制详解：再谈Event Loop](http://www.ruanyifeng.com/blog/2014/10/event-loop.html)\n- [Tasks, microtasks, queues 和 schedules](https://hongfanqie.github.io/tasks-microtasks-queues-and-schedules/)\n- [更快的异步函数和 Promise](https://v8.js.cn/blog/fast-async/)\n\n#### 网络编程\n\n- [Node关于网络的实现]()\n- [《JavaScript高级程序设计 网络部分》]()\n- [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware)\n\n#### 工程构建\n\n- [Eslint 讲解的比较全面](https://zhuanlan.zhihu.com/p/53680918)\n\n#### JS编译器\n\n- [最简单的编译器](https://github.com/jamiebuilds/the-super-tiny-compiler)\n\n### babel\n\n#### webpack\n\n#### 大厂面经\n\n- [腾讯蚂蚁字节的前端社招面经](https://mp.weixin.qq.com/s/gQoaxkeqPaw4tucNgm8C3A)\n- [自学转行3年经验，终入职阿里](https://mp.weixin.qq.com/s/QUqIyF7o1c2EupyUiQssuQ)\n- [阿里腾讯面试梳理](https://mp.weixin.qq.com/s/RXkTNQtvtEB3aClLJSGs_g)\n\n### 资源推荐\n\n- [JavaScript-Algorithms](https://github.com/sisterAn/JavaScript-Algorithms)\n- [Advanced-Frontend](https://github.com/Advanced-Frontend/Daily-Interview-Question/blob/master/datum/summary.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flefex%2Fbat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flefex%2Fbat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flefex%2Fbat/lists"}