title: How to pass a Variable in app.js to ./public/javascripts/myScript.js?
body: <p>I am trying to pass a data set in <code>app.js</code> I got from MYSQL declared as <code>RESTAURANTS</code> to <code>./public/javascripts/myScript.js</code></p>
  
  <p>In <code>app.js</code>, I have this</p>
  
  <pre><code>connection.query('select * from restaurants limit 10', function (err, dataset, fields) {
          if (err) throw err; 
          RESTAURANTS = dataset;
      });
  </code></pre>
  
  <p>How can I use <code>RESTAURANTS</code> in <code>myScript.js</code>?</p>