Fun with Array.reduce(): get a nested object by name
Say you have an object in the global scope such as   var level0 = {level1:{level2:{level3:'holy grail...
Tags: javascript, array, reduce