Hey guys, here’s a simple question:
Example code:
var records:Array = new Array();
records.push({name:"john", city:"omaha", zip:68144});
records.push({name:"matt", city:"kansas city", zip:72345});
records.push({name:"bob", city:"omaha", zip:94010});
I would like to splice in a way to change name: “bob” into name: “junior”
I am thinking something like this:
records[0].name.splice("junior", 1); //<---- incorrect code
Any ideas?
Thanks a lot!