TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Exploring ES2016 Decorators
34 points
by
rscnt
almost 10 years ago
4 comments
luckystarr
almost 10 years ago
Also: A decorator in Python does not necessarily return the same function it received.
v413
almost 10 years ago
Collapse
It is not precisely clear decorators will make it into ES2016 yet (maybe ES2017?). That is why it is better to say ES Next or something like that.
评论 #9877433 未加载
vault_
almost 10 years ago
Collapse
It seems like only methods can be decorated. Is there any hope for decorators on top-level functions in the future?
评论 #9878559 未加载
amelius
almost 10 years ago
Collapse
I sure hope all these extensions will not bring down the raw performance of various javascript engines.
评论 #9877425 未加载