title: Proper way to pass scope to imported class
body: <p>Say I have a class such as the following.  Is passing <code>this</code> for the imported class appropriate?  Or is there a better way to access the scope of the parent?</p>
  
  <pre><code>import Fruit from 'fruit'
  
  export default class Banana {
    constructor () {
      this.color = 'yellow'
    }
    let length = new Fruit(this).getLength()
  }
  </code></pre>
  
  <pre><code>export default class Fruit {
    constructor(scope) {
      this.parentScope = scope 
    }
  
    getLength() {
      if (this.parentScope.color == 'yellow') {
        return 5
      }
    }
  }
  </code></pre>
  
  <p>Is there a better way?</p>