Computers and Technology

Create a function greeting(name) that accepts a name argument and returns a personalized greeting if a name is present (must be done in javascript)

example:

input: greeting("charlotte");

output: "hello, charlotte! ";

input: greeting();

output: "hello! ";

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, ayoismeisjuam
The word β€˜play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
image
Computers and Technology, 22.06.2019 07:00, Jasten
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
image
Computers and Technology, 23.06.2019 06:30, arguellesjavier15
Who can provide you with a new password when you have forgotten your old one? your provide you with a new password in case you forget your old one.
Answers: 3
image
Computers and Technology, 23.06.2019 09:00, Riddledjam44623
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
Do you know the correct answer?
Create a function greeting(name) that accepts a name argument and returns a personalized greeting if...

Questions in other subjects:

Konu
Social Studies, 07.07.2019 15:30