SyntaxFix
Write A Post
Hire A Developer
Questions
You can get the property the same way as you set it.
foo = { bar: "value" }
You set the value foo["bar"] = "baz";
foo["bar"] = "baz";
To get the value foo["bar"]
foo["bar"]
will return "baz".