Javascript Function Creation Question 5

Introduction

What is the output of the following code?


function makeHello(strName) {
   return ("Hello " + strName);
}


let name = "CSS";
let greeting = makeHello(name);
console.log(greeting);


Hello CSS



PreviousNext

Related