There is an object A and B:
var A = { "test": "asd" }; var B = { "test": { "asd": true } }; How to find out the value in B-> test-> asd by the keys from object A, something like this:
var x = B[A]; // нужно узнать какое значение хранит asd // true console.log(x); Is there an easy way? without cycles?