...
Returns the value at the given hash-path. This result is the same as the foo{path}, but is useful when the map is the result of a function call.
Code Block | ||||
---|---|---|---|---|
| ||||
a = { "colors" : "many", "pi" : [3,1,4,1,5,6,9], "foo" : {"bar" : {"10":"I like cheese"}} }; f = function(){a}; a.get(["foo", "bar", "10"]) // "I like cheese" a{["foo", "bar", "10"]} // "I like cheese" f.get(["foo", "bar", "10"]) // "I like cheese" |
delete()
...