add support for extra es6 features
This commit is contained in:
17
FEATURES.md
17
FEATURES.md
@@ -99,6 +99,23 @@ console.log(`${x} + ${y} = ${x + y}`); // "5 + 10 = 15"
|
||||
```javascript
|
||||
```
|
||||
|
||||
## Constants
|
||||
|
||||
```javascript
|
||||
```
|
||||
|
||||
## Computed property names
|
||||
|
||||
```javascript
|
||||
var obj = {
|
||||
["x" + foo]: "heh",
|
||||
["y" + bar]: "noo",
|
||||
foo: "foo",
|
||||
bar: "bar"
|
||||
};
|
||||
|
||||
```
|
||||
|
||||
## Property name shorthand
|
||||
|
||||
```javascript
|
||||
|
||||
Reference in New Issue
Block a user