var people = [
{
// the 'john' object
firstname: 'John',
lastname: 'Doe',
address: [
'111 Main st',
'222 Main st'
]
},
{
// the 'jane' object
firstname: 'Jane',
lastname: 'Doe',
address: [
'333 Main st',
'444 Main st'
],
greet: function() {
return 'Hello';
}
}
]