An open API service indexing awesome lists of open source software.

https://github.com/ecmadao/js-bits-cn

通过代码解释 JavaScript 的概念
https://github.com/ecmadao/js-bits-cn

javascript js-bits learn-js

Last synced: over 1 year ago
JSON representation

通过代码解释 JavaScript 的概念

Awesome Lists containing this project

README

          

# js-bits-cn

> 翻译自 [vasanthk/js-bits](https://github.com/vasanthk/js-bits)

通过代码解释 JavaScript 的概念。

欢迎`pull request/issue/star`,共同翻译

## Menu

### 基本

- [字符串方法](js/string-methods.js)
- [按位操作符](js/bitwise-operators.js)
- [强制类型转换](js/coercion.js)
- [数字的最大和最小值](js/number-maxmin-val.js)
- [带有 string 的逻辑操作](js/logical-operations-with-string.js)
- [JavaScript 中的数字类型(浮点数)](js/floating-point-precision.js)

### Array

- [Array concat() 和 push() 方法](js/array-concat-push.js)
- [Array every() 和 some() 方法](js/array-every-some.js)
- [Array filter()、map() 和 reduce()](js/array-filter-map-reduce.js)
- [Array 的 forEach() 方法](js/array-foreach.js)
- [理解 Array 中的 通过值传递 和 通过引用传递](js/array-pass-by-val-reference.js)
- [Array 的 reduce() 方法](js/array-reduce.js)
- [Array 的 slice() 和 splice() 方法](js/array-slice-splice.js)

### DOM

- [DOM API 操作](js/dom.js)
- [JavaScript 中的样式操作](js/styling.js)
- [事件冒泡](js/event-bubbling.js)
- [事件委托](js/event-delegation.js)
- [事件处理](js/event-handling.js)

### 作用域

- [Apply 和 Call 方法](js/call-apply-function.js)
- [Bind 方法](js/bind-function.js)
- [闭包](js/closures.js)
- [this 关键字](js/this-keyword.js)

### 面向对象

- [关于 new 关键字的一些事](js/new-keyword.js)
- [对象的克隆](js/object-clone.js)
- [详解对象的创建(构造方法和原型链)](js/object-constructor.js)
- [JavaScript 面向对象编程](js/object-oriented.js)
- [对象的原型链](js/object-prototype.js)
- [对象的引用](js/object-reference.js)
- [OLOO 设计模式探索](js/oloo-pattern.js)

### 对象的属性

- [定义属性(Object.defineProperty 方法)](js/object-defineProperty.js)
- [冻结对象 (Object.freeze 方法)](js/object-freeze.js)
- [通过 Object.keys 遍历对象的属性](js/object-keys.js)
- [for..in 循环和 hasOwnProperty](js/for-in-with-hasOwnProperty.js)
- [getter 方法和 setter 方法](js/getters-setters.js)

### 其他

- [柯里化](js/currying.js)
- [AMD、CommonJS 和 ES6 模块机制的使用](js/amd-commonjs-es6modules.js)
- [条件表达式内函数声明](js/conditional-function-declaration.js)
- [工厂方法](js/factory-functions.js)
- [在 for() 循环内 setTimeout()](js/setTimeout-inside-loop.js)
- [Shim vs Polyfill vs Monkey patch](js/shim-polyfill-monkeypatch.js)
- [方法重载](js/method-overloading.js)
- [JavaScript 中的 Mixins](js/mixins.js)

## Todo

- [x] [AMD CommonJS and ES6 Modules Usage](js/amd-commonjs-es6modules.js)
- [x] [Array concat() push()](js/array-concat-push.js)
- [x] [Array every() some()](js/array-every-some.js)
- [x] [Array filter() map() reduce()](js/array-filter-map-reduce.js)
- [x] [Array forEach()](js/array-foreach.js)
- [x] [Array pass by val vs reference](js/array-pass-by-val-reference.js)
- [x] [Array reduce()](js/array-reduce.js)
- [x] [Array slice() splice()](js/array-slice-splice.js)
- [x] [Apply & Call function](js/call-apply-function.js)
- [x] [Bind function](js/bind-function.js)
- [x] [Bitwise operators](js/bitwise-operators.js)
- [x] [Closures](js/closures.js)
- [x] [Coercion](js/coercion.js)
- [x] [Conditional function declaration](js/conditional-function-declaration.js)
- [x] [Currying](js/currying.js)
- [x] [DOM](js/dom.js)
- [x] [Event Bubbling](js/event-bubbling.js)
- [x] [Event Delegation](js/event-delegation.js)
- [x] [Event Handling](js/event-handling.js)
- [x] [Factory Functions](js/factory-functions.js)
- [x] [Floating point precision](js/floating-point-precision.js)
- [x] [for-in with hasOwnProperty](js/for-in-with-hasOwnProperty.js)
- [x] [Getters and Setters](js/getters-setters.js)
- [x] [Logical operations with string](js/logical-operations-with-string.js)
- [x] [Method Overloading](js/method-overloading.js)
- [x] [Mixins](js/mixins.js)
- [x] [new keyword](js/new-keyword.js)
- [x] [Number Max Min val](js/number-maxmin-val.js)
- [x] [Object clone](js/object-clone.js)
- [x] [Object constructor](js/object-constructor.js)
- [x] [Object create()](js/object-create.js)
- [x] [Object defineProperty](js/object-defineProperty.js)
- [x] [Object freeze](js/object-freeze.js)
- [x] [Object keys](js/object-keys.js)
- [x] [Object oriented concepts](js/object-oriented.js)
- [x] [Object prototype](js/object-prototype.js)
- [x] [Object references](js/object-reference.js)
- [x] [OLOO pattern](js/oloo-pattern.js)
- [x] [setTimeout inside a loop](js/setTimeout-inside-loop.js)
- [x] [Shim vs Polyfill vs Monkey patch](js/shim-polyfill-monkeypatch.js)
- [x] [String methods](js/string-methods.js)
- [x] [Styling](js/styling.js)
- [x] [this keyword](js/this-keyword.js)