{"id":16796638,"url":"https://github.com/ecmadao/js-bits-cn","last_synced_at":"2025-03-17T03:31:01.130Z","repository":{"id":112025433,"uuid":"72560323","full_name":"ecmadao/js-bits-cn","owner":"ecmadao","description":"通过代码解释 JavaScript 的概念","archived":false,"fork":false,"pushed_at":"2022-07-12T04:03:48.000Z","size":125,"stargazers_count":84,"open_issues_count":1,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T07:41:34.605Z","etag":null,"topics":["javascript","js-bits","learn-js"],"latest_commit_sha":null,"homepage":null,"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/ecmadao.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":"2016-11-01T17:36:11.000Z","updated_at":"2025-03-03T07:54:09.000Z","dependencies_parsed_at":"2023-07-11T02:16:14.242Z","dependency_job_id":null,"html_url":"https://github.com/ecmadao/js-bits-cn","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/ecmadao%2Fjs-bits-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Fjs-bits-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Fjs-bits-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecmadao%2Fjs-bits-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecmadao","download_url":"https://codeload.github.com/ecmadao/js-bits-cn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243968717,"owners_count":20376438,"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":["javascript","js-bits","learn-js"],"created_at":"2024-10-13T09:19:40.995Z","updated_at":"2025-03-17T03:31:01.123Z","avatar_url":"https://github.com/ecmadao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-bits-cn\n\n\u003e 翻译自 [vasanthk/js-bits](https://github.com/vasanthk/js-bits)\n\n通过代码解释 JavaScript 的概念。\n\n欢迎`pull request/issue/star`，共同翻译\n\n## Menu\n\n### 基本\n\n- [字符串方法](js/string-methods.js)\n- [按位操作符](js/bitwise-operators.js)\n- [强制类型转换](js/coercion.js)\n- [数字的最大和最小值](js/number-maxmin-val.js)\n- [带有 string 的逻辑操作](js/logical-operations-with-string.js)\n- [JavaScript 中的数字类型（浮点数）](js/floating-point-precision.js)\n\n### Array\n\n- [Array concat() 和 push() 方法](js/array-concat-push.js)\n- [Array every() 和 some() 方法](js/array-every-some.js)\n- [Array filter()、map() 和 reduce()](js/array-filter-map-reduce.js)\n- [Array 的 forEach() 方法](js/array-foreach.js)\n- [理解 Array 中的 通过值传递 和 通过引用传递](js/array-pass-by-val-reference.js)\n- [Array 的 reduce() 方法](js/array-reduce.js)\n- [Array 的 slice() 和 splice() 方法](js/array-slice-splice.js)\n\n### DOM\n\n- [DOM API 操作](js/dom.js)\n- [JavaScript 中的样式操作](js/styling.js)\n- [事件冒泡](js/event-bubbling.js)\n- [事件委托](js/event-delegation.js)\n- [事件处理](js/event-handling.js)\n\n### 作用域\n\n- [Apply 和 Call 方法](js/call-apply-function.js)\n- [Bind 方法](js/bind-function.js)\n- [闭包](js/closures.js)\n- [this 关键字](js/this-keyword.js)\n\n### 面向对象\n\n- [关于 new 关键字的一些事](js/new-keyword.js)\n- [对象的克隆](js/object-clone.js)\n- [详解对象的创建（构造方法和原型链）](js/object-constructor.js)\n- [JavaScript 面向对象编程](js/object-oriented.js)\n- [对象的原型链](js/object-prototype.js)\n- [对象的引用](js/object-reference.js)\n- [OLOO 设计模式探索](js/oloo-pattern.js)\n\n### 对象的属性\n\n- [定义属性（Object.defineProperty 方法）](js/object-defineProperty.js)\n- [冻结对象 （Object.freeze 方法）](js/object-freeze.js)\n- [通过 Object.keys 遍历对象的属性](js/object-keys.js)\n- [for..in 循环和 hasOwnProperty](js/for-in-with-hasOwnProperty.js)\n- [getter 方法和 setter 方法](js/getters-setters.js)\n\n### 其他\n\n- [柯里化](js/currying.js)\n- [AMD、CommonJS 和 ES6 模块机制的使用](js/amd-commonjs-es6modules.js)\n- [条件表达式内函数声明](js/conditional-function-declaration.js)\n- [工厂方法](js/factory-functions.js)\n- [在 for() 循环内 setTimeout()](js/setTimeout-inside-loop.js)\n- [Shim vs Polyfill vs Monkey patch](js/shim-polyfill-monkeypatch.js)\n- [方法重载](js/method-overloading.js)\n- [JavaScript 中的 Mixins](js/mixins.js)\n\n## Todo\n\n- [x] [AMD CommonJS and ES6 Modules Usage](js/amd-commonjs-es6modules.js)\n- [x] [Array concat() push()](js/array-concat-push.js)\n- [x] [Array every() some()](js/array-every-some.js)\n- [x] [Array filter() map() reduce()](js/array-filter-map-reduce.js)\n- [x] [Array forEach()](js/array-foreach.js)\n- [x] [Array pass by val vs reference](js/array-pass-by-val-reference.js)\n- [x] [Array reduce()](js/array-reduce.js)\n- [x] [Array slice() splice()](js/array-slice-splice.js)\n- [x] [Apply \u0026 Call function](js/call-apply-function.js)\n- [x] [Bind function](js/bind-function.js)\n- [x] [Bitwise operators](js/bitwise-operators.js)\n- [x] [Closures](js/closures.js)\n- [x] [Coercion](js/coercion.js)\n- [x] [Conditional function declaration](js/conditional-function-declaration.js)\n- [x] [Currying](js/currying.js)\n- [x] [DOM](js/dom.js)\n- [x] [Event Bubbling](js/event-bubbling.js)\n- [x] [Event Delegation](js/event-delegation.js)\n- [x] [Event Handling](js/event-handling.js)\n- [x] [Factory Functions](js/factory-functions.js)\n- [x] [Floating point precision](js/floating-point-precision.js)\n- [x] [for-in with hasOwnProperty](js/for-in-with-hasOwnProperty.js)\n- [x] [Getters and Setters](js/getters-setters.js)\n- [x] [Logical operations with string](js/logical-operations-with-string.js)\n- [x] [Method Overloading](js/method-overloading.js)\n- [x] [Mixins](js/mixins.js)\n- [x] [new keyword](js/new-keyword.js)\n- [x] [Number Max Min val](js/number-maxmin-val.js)\n- [x] [Object clone](js/object-clone.js)\n- [x] [Object constructor](js/object-constructor.js)\n- [x] [Object create()](js/object-create.js)\n- [x] [Object defineProperty](js/object-defineProperty.js)\n- [x] [Object freeze](js/object-freeze.js)\n- [x] [Object keys](js/object-keys.js)\n- [x] [Object oriented concepts](js/object-oriented.js)\n- [x] [Object prototype](js/object-prototype.js)\n- [x] [Object references](js/object-reference.js)\n- [x] [OLOO pattern](js/oloo-pattern.js)\n- [x] [setTimeout inside a loop](js/setTimeout-inside-loop.js)\n- [x] [Shim vs Polyfill vs Monkey patch](js/shim-polyfill-monkeypatch.js)\n- [x] [String methods](js/string-methods.js)\n- [x] [Styling](js/styling.js)\n- [x] [this keyword](js/this-keyword.js)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecmadao%2Fjs-bits-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecmadao%2Fjs-bits-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecmadao%2Fjs-bits-cn/lists"}