rename block binding to let scoping

This commit is contained in:
Sebastian McKenzie 2014-10-13 03:26:13 +11:00
parent 38fc5159a3
commit 8f587fa833
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
arr.map(x => x * x); arr.map(x => x * x);
``` ```
## Block binding ## Let scoping
```javascript ```javascript
for (let i in arr) { for (let i in arr) {

View File

@ -66,8 +66,8 @@ It's as easy as:
To be implemented: To be implemented:
- [Block binding](FEATURES.md#block-binding)
- [Generators](FEATURES.md#generators) - [Generators](FEATURES.md#generators)
- [Let scoping](FEATURES.md#let-scoping)
## Usage ## Usage
@ -340,7 +340,6 @@ better suited if you'd like a full ES6 environment with polyfills and all.
| Source maps | ✓ | ✓ | ✓ | | ✓ | ✓ | | Source maps | ✓ | ✓ | ✓ | | ✓ | ✓ |
| No compiler global pollution | ✓ | | ✓ | | ✓ | ✓ | | No compiler global pollution | ✓ | | ✓ | | ✓ | ✓ |
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Block binding | | ✓ | | | ✓ | |
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | | | Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Constants | ✓ | ✓ | | | ✓ | | | Constants | ✓ | ✓ | | | ✓ | |
@ -348,6 +347,7 @@ better suited if you'd like a full ES6 environment with polyfills and all.
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ | | | For-of | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Generators | | ✓ | ✓ | | | | | Generators | | ✓ | ✓ | | | |
| Let scoping | | ✓ | | | ✓ | |
| Modules | ✓ | ✓ | | ✓ | | | | Modules | ✓ | ✓ | | ✓ | | |
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |