Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Email Auto-Responder with Default Parameters | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Email Auto-Responder with Default Parameters

Tarea

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:

    Dear [name],  
    
    Thank you for reaching out regarding [issue]. 
    Our support team will review your request and get back to you within [responseTime].  
    
    Best regards,  
    Customer Support Team  
    
  • Finally, call the function without passing any arguments.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 55
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Email Auto-Responder with Default Parameters

Desliza para mostrar el menú

Tarea

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:

    Dear [name],  
    
    Thank you for reaching out regarding [issue]. 
    Our support team will review your request and get back to you within [responseTime].  
    
    Best regards,  
    Customer Support Team  
    
  • Finally, call the function without passing any arguments.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 55
single

single

some-alt