Hello.
Take some function:
function DT.operators.Select(body, selectFrame, parentDiv) { this.body = body; this.selectFrame = selectFrame; this.parentDiv = parentDiv; } It can be called in two ways:
DT.operators.Select(op1, op2, op3); // и var x = new DT.operators.Select(op1, op2, op3); And the question arises: what's the difference, except that in the second case, the pointer to the function is passed to the variable?
UPD1 :
How can I hide fields and functions?