rejigger comparison table
This commit is contained in:
parent
915e8209cd
commit
302ff2397e
48
README.md
48
README.md
@ -187,30 +187,28 @@ limitations in ES5 implementations.
|
|||||||
|
|
||||||
## Comparison to other transpilers
|
## Comparison to other transpilers
|
||||||
|
|
||||||
| | 6to5 | Traceur | esnext | es6now | es6-transpiler |
|
| | 6to5 | Traceur | esnext | es6now | es6-transpiler |
|
||||||
| -------------------------- | ---- | ------- | ------ | ------ | -------------- |
|
| ---------------------------- | ---- | ------- | ------ | ------ | -------------- |
|
||||||
| No runtime | ✓ | | | | ✓ |
|
| No runtime | ✓ | | | | ✓ |
|
||||||
| Source maps | ✓ | ✓ | ✓ | | ✓ |
|
| Source maps | ✓ | ✓ | ✓ | | ✓ |
|
||||||
| **Compiler usage:** | | | | | |
|
| No compiler global pollution | ✓ | | ✓ | | ✓ |
|
||||||
| No global pollution | ✓ | | ✓ | | ✓ |
|
| Array comprehension | ✓ | ✓ | ✓ | | ✓ |
|
||||||
| **Syntax features:** | | | | | |
|
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Array comprehension | ✓ | ✓ | ✓ | | ✓ |
|
| Block binding | ✓ | ✓ | | | ✓ |
|
||||||
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Block binding | ✓ | ✓ | | | ✓ |
|
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Constants | ✓ | ✓ | | | ✓ |
|
||||||
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Constants | ✓ | ✓ | | | ✓ |
|
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Generator comprehension | | ✓ | ✓ | | ✓ |
|
||||||
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Generators | | ✓ | ✓ | | |
|
||||||
| Generator comprehension | | ✓ | ✓ | | ✓ |
|
| Modules | ✓ | ✓ | | ✓ | |
|
||||||
| Generators | | ✓ | ✓ | | |
|
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Modules | ✓ | ✓ | | ✓ | |
|
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
||||||
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ |
|
|
||||||
|
|
||||||
#### Performance
|
#### Performance
|
||||||
|
|
||||||
@ -236,7 +234,7 @@ unneccesary step when a runtime can be eliminated entirely.
|
|||||||
|
|
||||||
### [esnext](https://github.com/esnext/esnext)
|
### [esnext](https://github.com/esnext/esnext)
|
||||||
|
|
||||||
esnext is **slow**, painfully so. Runtime required.
|
esnext is **slow**, painfully so. See [performance](#performance) for stats.
|
||||||
|
|
||||||
### [es6now](https://github.com/zenparsing/es6now)
|
### [es6now](https://github.com/zenparsing/es6now)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user