how to get appends objects code example
Example 1: javascript append to object
var alerts = [
{num : 1, app:'helloworld',message:'message'},
{num : 2, app:'helloagain',message:'another message'}
]
Example 2: javascript append to object
alerts.push({num : 3, app:'helloagain_again',message:'yet another message'});