the syntax let decorators ?
# Andy Earnshaw (7 years ago)
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 ever going to work, the decorator should come before the variable name:
let @inc a = 1,
@inc b = 2;
do you like syntax like this
I write a plugin to enable this syntax for test, javascript let decorators