I have a object where I would like to use value of one key in the value of another key
var paths = {
  src = '/home'
  styles: src + '/styles',
  scripts: src + '/scripts'
}
This does not work.
var paths = {
  src = '/home'
  styles: this.src + '/styles',
  scripts: this.src + '/scripts'
  ...
}
Does not work either as this relates to global scope not paths scope.
this works but would rather not have multiple objects
var app  = {
  src: '/home'
}
var paths = {
  styles: app.src + '/styles',
  scripts: app.src + '/scripts'
  ...
}
 
    