add support for extra es6 features

This commit is contained in:
Sebastian McKenzie
2014-09-29 03:43:46 +10:00
parent 4859a25876
commit 53a8c34d33
3 changed files with 23 additions and 2 deletions

View File

@@ -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