I have an object like:
var foo = {
   a: {
      b: ... || ... || ... || 30
   }
 , c: bar(... || ... || ... || 30)
};
Is it possible to access foo.a.b key instead of writing again ... || ... || ... || 30 in the bar call?
I also can do:
foo.c = bar(foo.a.b);
But I would choose a shorter way if possible.
I tried to do bar(this.a.b) that doesn't work (Cannot read property 'b' of undefined.).
 
    