Features
List of all JS+ features
Stage 3
Section titled “Stage 3”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Decorators | Syntax | ✅ | ✅ | ❌ | ✅ |
Stage 2.7
Section titled “Stage 2.7”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Iterator chunking | Polyfill | ✅ | ❌ | ❌ | ✅ |
| Promise await dictionary | Polyfill | ❌ | ❌ | ❌ | ✅ |
Stage 2
Section titled “Stage 2”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Discard binding | Syntax | ✅ | ❌ | ✅ | |
| Math.clamp | Polyfill | ✅ | ❌ | ❌ | ✅ |
| Object.keysLength | Polyfill | ❌ | ❌ | ❌ | ✅ |
| Pipeline operator | Syntax | ✅ | ✅ | ✅ | |
| Promise.isPromise | Polyfill | ❌ | ❌ | ❌ | ✅ |
| Throw expressions | Syntax | ✅ | ❌ | ✅ |
Stage 1
Section titled “Stage 1”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Export default from | Syntax | ✅ | ❌ | ✅ | |
| Object property count | Polyfill | ❌ | ❌ | ❌ | ✅ |
| Random | Polyfill | ❌ | ❌ | ❌ | ✅ |
Stage 0
Section titled “Stage 0”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Async do expressions | Syntax | ✅ | ✅ | ✅ | |
| Do expressions | Syntax | ✅ | ✅ | ✅ |
Stage inactive
Section titled “Stage inactive”| Feature | Type | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Negative array subscript | Runtime | ❌ | ❌ | ✅ | |
| Typeof null operator | Runtime | ❌ | ❌ | ✅ |