<html>
<body>
<script type="text/javascript">
personObj=new Object();
personObj.firstname="Fazle";
personObj.lastname="Hasan";
personObj.age=63;
personObj.eyecolor="black";
document.write(personObj.firstname + " is " + personObj.age + " years old.");
</script>
</body>
</html>
No comments:
Post a Comment