Closed iccir closed 8 years ago
In our source base, we do a lot of the following:
@const Foo = "Foo"; doSomething({ [ Foo ]: "value" });
Right now this outputs:
doSomething({ [ "Foo" ]: "value" });
Which Babel turns into something like this:
doSomething((_$tmp = {}, _defineProperty(_$tmp, "Foo","value"), _$tmp));
oj could instead output:
doSomething({ "Foo": "value" });
In our source base, we do a lot of the following:
Right now this outputs:
Which Babel turns into something like this:
oj could instead output: