Objects
Lesson 19Author : GOUP
Last Updated : September, 2020
Code
var student = {
name: "Jim",
major: "Business",
age: 19,
gpa: 2.5
};
student.name = "Andy"
document.write( student.name + "<br>" );
document.write( student.major + "<br>" );
document.write( student.gpa + "<br>" );