ES6 Computed Properties in object initializer fails in minification #2018

JimAnkrom opened this Issue Oct 28, 2016 · 0 comments


None yet

1 participant

JimAnkrom commented Oct 28, 2016 edited

Below is valid ES6 syntax (see )

Minifier reports back an error "Expected '}': [", which leads me to believe computed properties are not yet supported.

let prop = 'hello'; let obj = { [prop]: "world" };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment