Well "a.b.c" violates the principle that you should never access a property more than one level deep anyway ;)
But in this case it's pretty straightforward to write a function like "get('b', 'c')(a)" or use a lib like lodash [1]
But in this case it's pretty straightforward to write a function like "get('b', 'c')(a)" or use a lib like lodash [1]