Add the Missing Function Keyword
The following code is intended to define a function named
greet
which takes a name and returns a greeting. However, the function keyword is missing. Fix the definition so that it works as intended.Premium
JavaScript
Console