— javascript, Tech
Double bind() for better `this` experience
I am doing some developing with prototype lately and I was having some issues with context of `this` variable. The problem is that javascript is different from python in a way that defines local variable scope of class methods. So here is short snippet with double bind(this) that allows one to reference class `this`. In […]