var student = { name: "John Doe", marks : 400 } var s1 = student; s1.marks = 300; console.log("Marks of the student is " + student.marks);
var student = { name: "John Doe", marks : 400 } var s1 = student; s1.marks = 300; console.log("Marks of the student is " + student.marks);