Using ES6's Proxy for safe Object property access
Gidi Meir Morris

This is cool but a bit complicated no? I really like your deepAccess function. It would be awesome if we could make it as natural as possible. This felt more natural to me:

``` = function(dotpath) {
 var obj = this;
 return dotpath.split(‘.’).reduce((obj, key) => {
 if(obj && key in obj) {
 return obj[key];
 return undefined;
 }, obj);




var a = {b:{}};‘b.c’);


I’m trying to get it as close to `a.b.c` as possible. There probably should be a way with getters no?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.