JavaScript Modules
Thanks to Vjeux I found nice one liner to set module for WebWorkers, Browser and Node.js. This really can be useful, and is short :)
Javascript – One line global + export
I think only how would it be hard to make it usable also for AMD.
Want to learn more?
Sign up to get a digest of my articles and interesting links via email every month.