Each function in JavaScript and TIScript gets implicit argument named this. So when you call method of some object as foo.bar(1) then foo object is passed to the bar(param) function as a value of this argument. And the param will get value of 1. All of us who are practicing JS, Python, Ruby, etc. know…
[tiscript] ‘this’ and ‘this super’ function arguments
Posted on