Challenge: Email Auto-Responder with Default Parameters
Opgave
Swipe to start coding
You are building an automated email responder.
-
Define a function called
generateEmailResponse
that has the following parameters:name
(default:"Valued Customer"
);issue
(default:"a general inquiry"
);responseTime
(default:"24 hours"
).
-
Write
console.log
lines to display output in the given format, where[name]
,[issue]
, and[responseTime]
are to be replaced with the relevant values:python -
Finally, call the function without passing any arguments.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 11