how do I achieve this with an object that has functions?
I would like to sometimes launch a function a simple way then other times i would like to launch with extra data and bypass the part that normally would happen.
like digging a little deeper...
myobj.ONEFUNC=function(data1,data2){
var DIFF=function(data3){
/*In here I need to use data1, data2 & data3*/
/*If this happens don't do normal*/
/*maybe*/return;
}
/*do normal code things*/
}
myobj.ONEFUNC('data1','data2').DIFF('data3');
myobj.ONEFUNC('data1','data2');