I have a hash like the one below
aa: {
categories: {
cat1: 'alpha'
}
}
Starting from the string 'aa.categories.cat1'
, how can I get alpha
suing plain JS?
I have a hash like the one below
aa: {
categories: {
cat1: 'alpha'
}
}
Starting from the string 'aa.categories.cat1'
, how can I get alpha
suing plain JS?