Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Javascript level 8 lesson 10

let welcome = (a,b) => a+b;
welcome("Hello ", "Studytonight");


this code isnt working out, am tryn'a use arrow function
by

2 Answers

kshitijrana14
Try this one :

// create the function here
let welcome=(a,b)=>console.log(a+b);
// calling the function
welcome("Hello ", "Studytonight");
shamin
Can you please help me with JS level 8 lesson 3
function doYoga()
{
console.log("some yoga");
console.log("some more yoga");
console.log("now relax...");
}
doYoga();
doYoga();

I have tried everything but nothing is working I believe you are passed through this level, and it will be really great if you could help me as I have been stuck on it for a week now! Thanks.

Login / Signup to Answer the Question.