es6-plato
es6-plato copied to clipboard
ES6 object shorthand function support
We found that es6-plato can't recognize es6 object shorthand function, for example:
const obj = {
// recognized
foo: function() {}
};
const obj = {
// not recognize
foo() {}
}
Is that true, or we used es6-plato in wrong way?
@rookiePrgrmer I'll be updating the underlying parser that might fix this soon. I'll let you know when.