views:

58

answers:

0

Hi all,

Is the following possible:

function one(parameterOne)
{
document.write('P1 = '+parameterOne+');
}

function two(parameterTwo)
{
document.write('P2 = '+parameterTwo+');
}

function three(parameterOne,parameterTwo)
{
this.parameterOne=parameterOne;
this.parameterTwo=parameterTwo;
x=parameterOne+parameterTwo;
document.write(x); 
}

Thanks, B.