I've just started working with javascript and I saw something which I can't explain.
I have js file named TestClass.js and its the following:  
TestClass.SetError = function (errorDescription, errorCode, typedErrorCode)
{
    alert("SetError ");
}  
function SetError2(errorCode)
{
    alert("SetError2 ");
}  
Can someone please explain me the difference between the SetError and SetError2?
 
     
     
     
     
     
    