How to add an element to a existing json array : I have a JSON object:

    var data = [{"name":"albin"},{"name, "alvin"}];

How can I add an element to all the records?

I want to add "age":"18" to all the records:

    [{"name":"albin", "age":"18"},{"name, "alvin", "age":"18"}];