re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I like how clever this is. Surely, this has its uses, but for me, it's too much of a price to pay just to enable inheritance. It's one big soup of ...
 

It depends on how important inheritance is for your use case. And while I haven't gone looking, I bet the Babel plugin for #name likely does much the same thing.

code of conduct - report abuse