Is there a short way for accessing a nested object without checking each parent object?
this will throw an exception if foo or bar is undefined:
var exists = (foo.bar.value !== undefined);
I would expect a check function like:
var exists = Object.exists(foo.bar.value);
Is there already something build-in javascript?