src/Class.js
function getAssociated(name) {
  const path = ['__jsmf__', 'associated']
  if (name !== undefined) {
    path.push(name)
  }
  return _.get(this, path)
}
function getAssociated(name) {
  const path = ['__jsmf__', 'associated']
  if (name !== undefined) {
    path.push(name)
  }
  return _.get(this, path)
}
function getAssociated ( name ) { const path = [ '__jsmf__' , 'associated' ] if ( name !== undefined ) { path . push ( name ) } return _ . get ( this , path ) }
Returns the associated data of a reference or of all the references of an object
@method
@memberof Class~ClassInstance
@param {string} name - The name of the reference to explore if undefined, all the references are returned
Returns the associated data of a reference or of all the references of an object