要素を配列にプッシュし、それを変更するにはどうすればよいですか? 例:
//Here new object
var ob = new User({login:"Max", age:22});
//array of existing elements
var users = array[..] //length for example 5
//pushing to array
users.push(ob);
//here im change element data and would like change it in array element (saving data to server, and return ID of saved element)
ob.age = 33;
どうすればいいの?