Some of the object properties in the Dojo Toolkit are set to objects
but they are using syntax like this:
object.property = new function() {
this.property = someValue;
this.property = someFunction;
}
Is the property set to a new object and if so what is the "new
function()" statment doing?
Thanks,
Scott
but they are using syntax like this:
object.property = new function() {
this.property = someValue;
this.property = someFunction;
}
Is the property set to a new object and if so what is the "new
function()" statment doing?
Thanks,
Scott
Comment