Returning Strings
Tue Oct 04 2022 09:50:58 GMT+0000 (Coordinated Universal Time)
Saved by
@j_jivan
#javascript
/*Make a function that will return a greeting statement that uses an input; your program should return, "Hello, <name> how are you doing today?".
[Make sure you type the exact thing I wrote or the program may not execute properly]
*/
function greet(name){
return `Hello, ${name} how are you doing today?`
}
content_copyCOPY
Comments