generate functionWed, 30 Nov 2022

create a script that will ask for first and last name, then print out the two

function askName(firstName, lastName) { const fullName = firstName + " " + lastName; console.log(fullName); } askName("john", "doe")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant