function doSomething(firstName, lastName) { alert('Hello ' + firstName + " " + lastName) } doSomething('Daniel', 'Grocock'); doSomething('Dan', 'Man'); doSomething('James', 'Grocock');