News for hackers. Stuff that matters.
Re:ES6 in Depth: Classes by savanaly on Thursday July 23, 2015 @02:47PM (#9937702)
Sample code from just this afternoon:

      const typeMap = {
        'i-text': this.processText.bind(this),
        'image': this.processImage.bind(this),
        'rect': this.processRectangle.bind(this)
      };
Really annoying if you ask me, though I understand why it had to be this way.

There are no comments on this comment yet.