I have this object:
var myValues = {
55bdf7bda89de40349854077: ["hello"]
55be0c77a89de403498540bc: ["goodbye"]
55be0e22a89de403498540c1: ["hey there!"]
}
And a variable as contains an id:
var id = '55be0e22a89de403498540c1';
I want to find in the object by this id and get the value in array.
I try to find with:
myValues.id[0]
but ... not works ;/
Anybody can help me?