title: How to export getter in ES6 module system
body: <p>Is it possible to export getter in import/export module system?</p>
  
  <pre><code>export getter $topbar(){ return $('.topbar') }
  </code></pre>
  
  <p>How can it be implemented?</p>
  
  <p>edited:</p>
  
  <p>So while I was asking the question I learned that every variable exported as <code>by ref</code> so any exported variable act as getter and expose fresh value each time value as checked. </p>
  
  <p>it means changing the variable value in the module will change the value in every imported module</p>