ama
ama copied to clipboard
The Revealing Module Pattern vs. ES6 classes
Hi Todd,
I learnt a lot from your post on the Module Pattern in JavaScript and I particularly liked your style of coding the Revealing Module Pattern.
When writing code for ES6-compatible browsers do you stick to the Revealing Module Pattern to create class-like structures or do you use ES6 classes instead?
Looking forward to hearing your opinion on this topic. Cheers