Object data not run Why?

@rohitlohot07
i think you have to use this formet
var data = {
name : “Rohit”,
age : 21,
city : “Thane”
};

document.writeln("My name is " + data.name + " and my age is " + data.age + " I am living in " data.city);

I mean you have to use " : " in the place of " = "