摘要: When multiple decorators apply to a single declaration, their evaluation is similar to function composition in mathematics. In this model, when compos 阅读全文
posted @ 2016-06-13 21:24 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: new.target is a new “magical” value available in all functions, thoughin normal functions it will always be undefined. In any constructor,new.target a 阅读全文
posted @ 2016-06-13 20:50 Zhentiw 阅读(124) 评论(0) 推荐(0)
摘要: Each function should have a 'name' property. It can be anonymous, empty, the same as function name, or class name. For example: 阅读全文
posted @ 2016-06-13 17:24 Zhentiw 阅读(137) 评论(0) 推荐(0)
摘要: Original artial --> link How descorator looks like: Descorator in action: We have a class, which have an method call meow(): When Javascritp Engine re 阅读全文
posted @ 2016-06-13 04:32 Zhentiw 阅读(369) 评论(0) 推荐(0)