nutzen@2.0.6 nutzen.guard .this variable now points to object instance. All functions defined within nutzen.guard now have the .this point to the calling instance’s value, this has special usecase when we are dealing with object models that require handling large number of state values. A simple vanilla javascript example will make things clear: var tank = {} tank.move = function(x,y) { this.x = this.x + x this.y = this.y + y } tank....

June 27, 2023 · 2 min · sourcevault