paint-brush
Functional JavaScript: Function Decorators Part 2 #JavaScriptby@joelthoms
12,596 reads
12,596 reads

Functional JavaScript: Function Decorators Part 2 #JavaScript

by Joel Thoms3mMarch 26th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In Part 1, I demonstrated how function decorators can transform a callback into a promise and back again. But function decorators are much more useful than the limited scope of callbacks and promises, so I thought this subject could use a reboot.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Functional JavaScript: Function Decorators Part 2 #JavaScript
Joel Thoms HackerNoon profile picture
Joel Thoms

Joel Thoms

@joelthoms

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Npmjs
Snyk
Bitcoininsider