Re: the syntax let decorators ?

2018-01-21 Thread 郑宇光
add [link]( https://github.com/ukari/javascript-let-decorators/issues/1#issuecomment-356888258) to place where discussion happened 2018-01-11 18:31 GMT+09:00 Andy Earnshaw : > I don't like this syntax. `let` can be used to declare multiple > variables, so how does this

Re: the syntax let decorators ?

2018-01-11 Thread Andy Earnshaw
I don't like this syntax. `let` can be used to declare multiple variables, so how does this work? ``` @inc let a = 1, b = 2; ``` Does it only decorate the first, or does it decorate all? Either way, I don't think it's flexible enough to be compatible with certain coding styles. If it is