Merge pull request #184 from thejameskyle/support-table
Sort comparison table by most es6 support and split into two groups
This commit is contained in:
commit
b9a6cf35b7
@ -56,31 +56,42 @@ better suited if you'd like a full ES6 environment with polyfills and all.
|
|||||||
|
|
||||||
## Comparison to other transpilers
|
## Comparison to other transpilers
|
||||||
|
|
||||||
| | 6to5 | Traceur | esnext | es6now | es6-transpiler | jstransform |
|
### Features
|
||||||
| ---------------------------- | ---- | ------- | ------ | ------ | -------------- | ----------- |
|
|
||||||
| No runtime | ✓ | | | | ✓ | ✓ |
|
| | 6to5 | Traceur | es6-transpiler | esnext | es6now | jstransform |
|
||||||
| Source maps | ✓ | ✓ | ✓ | | ✓ | ✓ |
|
| ---------------------------- | ---- | ------- | -------------- | ------ | ------ | ----------- |
|
||||||
| No compiler global pollution | ✓ | | ✓ | | ✓ | ✓ |
|
| Source maps | ✓ | ✓ | ✓ | ✓ | | ✓ |
|
||||||
| Browser support | ✓ | ✓ | ✓ | | | |
|
| No compiler global pollution | ✓ | | ✓ | ✓ | | ✓ |
|
||||||
| Array comprehension | ✓ | ✓ | | | ✓ | |
|
| No runtime | ✓ | | ✓ | | | ✓ |
|
||||||
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Browser support | ✓ | ✓ | | ✓ | | |
|
||||||
| Async functions | ✓ | ✓ | ✓ | | | |
|
|
||||||
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
### Language Support
|
||||||
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
|
||||||
| Constants | ✓ | ✓ | | | ✓ | |
|
| | 6to5 | Traceur | es6-transpiler | esnext | es6now | jstransform |
|
||||||
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| ---------------------------- | ----- | ------- | -------------- | ------ | ------ | ----------- |
|
||||||
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Array comprehension | ✓ | ✓ | ✓ | | | |
|
||||||
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Generators | ✓ | ✓ | ✓ | | | |
|
| Async functions | ✓ | ✓ | | ✓ | | |
|
||||||
| Generator comprehension | ✓ | ✓ | | | | |
|
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Let scoping | ✓ | ✓ | | | ✓ | |
|
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Modules | ✓ | ✓ | | ✓ | | |
|
| Constants | ✓ | ✓ | ✓ | | | |
|
||||||
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| Generators | ✓ | ✓ | | ✓ | | |
|
||||||
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Generator comprehension | ✓ | ✓ | | | | |
|
||||||
| Unicode regex | ✓ | ✓ | | | ✓ | |
|
| Let scoping | ✓ | ✓ | ✓ | | | |
|
||||||
|
| Modules | ✓ | ✓ | | | ✓ | |
|
||||||
|
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
|
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
|
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
|
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
|
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
|
| Unicode regex | ✓ | ✓ | ✓ | | | |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### [Traceur](https://github.com/google/traceur-compiler)
|
### [Traceur](https://github.com/google/traceur-compiler)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user