google/closure-compiler — pull request #761 by tuchida (2014-12-23 07:04:22+00:00)
Title: Allow literal as method names in ObjectLiteral.

```js
// test.js
var a = { 0 () {} };
```

```
$ java -jar compiler.jar --language_in ECMASCRIPT6 --language_out ECMASCRIPT3 test.js
test.js:1: ERROR - Parse error. '[' expected
var a = { 0 () {} };
^
```

NumericLiteral and StringLiteral is valid methods name.
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-method-definitions

I was confirmed that the code is valid on Firefox37 and Chrome41.