var student = {
    name: "John Doe",
    marks : 400
}

console.log("Name of the student is " + student['name']
            + " marks are " + student['marks'])