var student = {
    name: "John Doe",
    marks : 400
}
for(key in student)
{
  console.log(key); 
}