Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

18 lines
370 B
JavaScript

function bindProperty()
{
a = (function(){ return aNumber * 10 })
}
function TestObject() { }
TestObject.prototype.aNumber = 928349
TestObject.prototype.bindFunction = function() {
return this.aNumber * 10 // this should not use the TestObject's aNumber
}
var testObj = new TestObject()
function bindPropertyWithThis()
{
a = testObj.bindFunction
}