Vladimir Kurchatkin 3267e5f365 Don't set inType flag when parsing property names (#266)
* Don't set inType flag when parsing property names

* Add inPropertyName type definition

* Move inPropertyName check before this.curContext()
2017-01-05 12:25:57 +01:00

4 lines
45 B
JavaScript

const map = {
[age <= 17] : 'Too young'
};