@Shadamedafas wrote:
Hello,
Not sure how difficult the implementation of this would be, but I found myself wanting to use the brace expansion syntax available to computed property declaration in the getProperties method.
As an example:
// Now let thing = this.get('thing'); let { foo, bar } = thing.getProperties('foo', 'bar'); // Proposed let { foo, bar } = this.getProperties('thing.{foo,bar}');
Posts: 2
Participants: 2