-
JavaScript Decorators: @time
In this video, we build a JavaScript decorator that will time how long a function takes to run. Links: – Exploring EcmaScript Decorators: https://medium.com/google-developers/exploring-es7-decorators-76ecb65fb841 – JSFiddle Code: https://jsfiddle.net/andrew8088/cfd5h39n/ Original source