SyntaxFix
Write A Post
Hire A Developer
Questions
That is an object, not an array. So you would do:
var json = { cool: 34.33, alsocool: 45454 }; json.supercool = 3.14159; console.dir(json);