Hello, I have a problem with ExtendedScript, I have differents values of this in Chrome and ExtendedScript.
Why in third, fourth and fifth test, I have this = myObject.method ?
var myObject = {
method: function () {
alert(this);
}
};
myObject.method(); // myObject object in Google Chrome and ESTK
(myObject.method)(); // myObject object in Google Chrome and ESTK
(myObject.method = myObject.method)(); // myObject object in Google Chrome but method function in ESTK
(false || myObject.method)(); // myObject object in Google Chrome but method function in ESTK
(myObject.method, myObject.method)(); // myObject object in Google Chrome but method function in ESTK