{"id":17345262,"url":"https://github.com/binbiubiubiu/note","last_synced_at":"2025-03-27T10:25:34.513Z","repository":{"id":106105823,"uuid":"220783304","full_name":"Binbiubiubiu/note","owner":"Binbiubiubiu","description":"干货满满","archived":false,"fork":false,"pushed_at":"2019-11-10T13:16:35.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-19T19:53:03.056Z","etag":null,"topics":["fontend","js","notebook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Binbiubiubiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-11-10T11:57:06.000Z","updated_at":"2020-02-21T13:12:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"38ba978e-2670-4ff5-a4ec-37c85c2a8013","html_url":"https://github.com/Binbiubiubiu/note","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Binbiubiubiu%2Fnote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Binbiubiubiu%2Fnote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Binbiubiubiu%2Fnote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Binbiubiubiu%2Fnote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Binbiubiubiu","download_url":"https://codeload.github.com/Binbiubiubiu/note/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245825010,"owners_count":20678488,"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","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":["fontend","js","notebook"],"created_at":"2024-10-15T16:30:12.318Z","updated_at":"2025-03-27T10:25:34.487Z","avatar_url":"https://github.com/Binbiubiubiu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 收集的各种干货\n\n### 常见手写代码试题\n- [判断是否是电话号码](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%88%A4%E6%96%AD%E6%98%AF%E5%90%A6%E6%98%AF%E7%94%B5%E8%AF%9D%E5%8F%B7%E7%A0%81.js)\n- [字符串查找](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%9F%A5%E6%89%BE.js)\n- [实现Event(event bus)](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0Event(event%20bus).js)\n- [实现JSON.parse](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0JSON.parse.js)\n- [实现Promise](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0Promise.js)\n- [实现apply方法](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0apply%E6%96%B9%E6%B3%95.js)\n- [实现bind](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0bind.js)\n- [实现instanceOf](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0instanceOf.js)\n- [实现一个call](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AAcall.js)\n- [实现千位分隔符](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0%E5%8D%83%E4%BD%8D%E5%88%86%E9%9A%94%E7%AC%A6.js)\n- [实现类的继承](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0%E7%B1%BB%E7%9A%84%E7%BB%A7%E6%89%BF.js)\n- [实现节流函数（throttle）](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0%E8%8A%82%E6%B5%81%E5%87%BD%E6%95%B0%EF%BC%88throttle%EF%BC%89.js)\n- [实现防抖函数（debounce）](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E5%AE%9E%E7%8E%B0%E9%98%B2%E6%8A%96%E5%87%BD%E6%95%B0%EF%BC%88debounce%EF%BC%89.js)\n- [查找字符串中出现最多的字符和个数](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E6%9F%A5%E6%89%BE%E5%AD%97%E7%AC%A6%E4%B8%B2%E4%B8%AD%E5%87%BA%E7%8E%B0%E6%9C%80%E5%A4%9A%E7%9A%84%E5%AD%97%E7%AC%A6%E5%92%8C%E4%B8%AA%E6%95%B0.js)\n- [模拟Object.create](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E6%A8%A1%E6%8B%9FObject.create.js)\n- [模拟new](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E6%A8%A1%E6%8B%9Fnew.js)\n- [模板引擎实现](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E6%A8%A1%E6%9D%BF%E5%BC%95%E6%93%8E%E5%AE%9E%E7%8E%B0.js)\n- [深克隆（deepclone）](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E6%B7%B1%E5%85%8B%E9%9A%86%EF%BC%88deepclone%EF%BC%89.js)\n- [解析 URL Params 为对象](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E8%A7%A3%E6%9E%90%20URL%20Params%20%E4%B8%BA%E5%AF%B9%E8%B1%A1.js)\n- [转化为驼峰命名](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E8%BD%AC%E5%8C%96%E4%B8%BA%E9%A9%BC%E5%B3%B0%E5%91%BD%E5%90%8D.js)\n- [验证是否是身份证](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E9%AA%8C%E8%AF%81%E6%98%AF%E5%90%A6%E6%98%AF%E8%BA%AB%E4%BB%BD%E8%AF%81.js)\n- [验证是否是邮箱](https://github.com/Wildlifes/blog/blob/master/%E5%B8%B8%E8%A7%81%E6%89%8B%E5%86%99%E4%BB%A3%E7%A0%81%E8%AF%95%E9%A2%98/%E9%AA%8C%E8%AF%81%E6%98%AF%E5%90%A6%E6%98%AF%E9%82%AE%E7%AE%B1.js)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbiubiubiu%2Fnote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinbiubiubiu%2Fnote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbiubiubiu%2Fnote/lists"}