Adding and Deleting Properties and Methods
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<script type="text/javascript">
var myData = {
name : "Java",
weather : "Good",
};
myData.dayOfWeek = "Monday";
document.writeln(myData.name);
document.writeln(myData.weather);
document.writeln(myData.dayOfWeek);
</script>
</body>
</html>