c) Write a new function called 'getFullName2()' which takes two arguments (firstName and lastName) and replace the code below. Explain the difference.
Code:
var firstName:String = new String("Tom");
var lastName:String = new String("Smith");
function getFullName():String{
var fullName:String = firstName + " " + lastName;
return fullName;
}
var fullName:String = getFullName();
trace("name is: ",fullName);