Hi I am new to javascript. I am looking at big javascript code already working fine. It contains following statements :
function(a){
return this.prt = a,this;
}
and in the client code, they are using it as
obj.a(34).a(54)
I want to know what's happening here ? Does javascript allows returning of multiple values.
Pardoning for may be such a silly question. I have googled out, but couldn't find any good references.
Thanks in advance.