I was wondering if the following code is executed, does it inherit local variables from the NewDragDrop function? Does it matter if the NewDragDrop() is the constructor of another class?
function NewDragDrop (imageReference, imageTitle){
var image;
var title;
}
function InheritDragObject (imageReference, title){
$.extend(true, this, new NewDragDrop(imageReference, title));
}