News for hackers. Stuff that matters.
Re:Classes are Expressions by braythwayt on Thursday June 04, 2015 @02:47PM (#9661262)
Writing this[rename](...) instead of this.rename(...) is hardly onerous.

Your solution mostly works, but a simpler one takes advantage of combining computed property keys and compact method syntax:

https://gist.github.com/raganwald/18f8c179101cfd93c291

Re:Classes are Expressions by ravicious on Thursday June 04, 2015 @03:04PM (#9661364)
Okay, now this certainly feels better than my example and is much more bulletproof than prefixing function names with `_`, thanks.