title: Save array javascript
body: <p>I have a long array like this:</p>
  
  <pre><code>var array = [{x: 0, y:0} ...];
  </code></pre>
  
  <p>Who contains almost 2000 objects.
  How can I export this to text and use it in another javascript file/project?</p>