Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

you need to remove double quotes to *course* object

***student.course = course; ***
2 years ago
Me I tried it but it can't be possible
***let b="Studytonight";
let a = "Hello";
function greeting() {
console.log(`${a} ${b}`);
}
greeting();
console.log(a + b); ***
2 years ago
The error is on variable b in this statement console.log(a + b); because is local variable can not be accessed out of function.
2 years ago