Drive-by-comment: On 20 October 2015 at 14:40, Bob Myers <r...@gol.com> wrote: > AFAICS, hoisting is not an issue if the decorator has no side effects.
Not so. Initialisation order is another issue. Consider: var x = 0 @bla(x) function f() {} Also, as a side note, pretty much *everything* in JavaScript potentially has side effects. /Andreas _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss