I want to get a value from within a nested JavaScript object by this key.
var t = "cont.model.Inspection.InspectionName";
How to get the nested object values by string key directly?
I have tried the eval(t)
but its giving null but this key has value "A" when run on console.