<!DOCTYPE html>
<html>
<body>
<script>
var person={
firstname : "John",
lastname :
"Doe",
id : 5566
};
document.write(person.lastname + "<br>");
document.write(person["lastname"] + "<br>");
</script>
</body>
</html>
0 comments:
Post a Comment