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

The challenge is level 9, lesson 2 JS

let course = {name:"CSE",hod:"Mr. Wick",batch:2021}

let student = new Object();
student.name = "John"
student.course = "course";

console.log(student);

Can anyone help?
by

2 Answers

fatuga
Can anyone help please,,,? I don't know where the issues is?
niyitanga
you need to remove double quotes to course object

student.course = course; 

Login / Signup to Answer the Question.