title: Figuring out JavaScript libraries for Vim autocompletion with TernJS in .tern_project file
body: <p>I love vim and want to keep using it to do web development although I am struggling setting up my .tern_project file with the correct libraries I need to do autocompletion. I am relatively new to JavaScript but what I have so far is making it a lot easier to learn.</p>
  
  <p>There aren't many examples that I could find and I have tried to read the <a href="http://ternjs.net/doc/manual.html#configuration" rel="noreferrer">documentation</a> but I do not know enough for it to be helpful. So far my .tern_project file looks like this:</p>
  
  <pre><code>{
    "libs": [
      "browser",
      "ecma6"
    ],
    "plugins": {
      "requirejs": {
        "baseURL": "./",
        "paths": {}
      }
    }
  }
  </code></pre>
  
  <p>I don't really know what the plugins do but I left them in for now, in libs the ecma6 really helped me with all the array methods (ie. forEach etc.). Now my question is how do I add stuff like <a href="https://developer.mozilla.org/en-US/docs/Web/API/Console/table" rel="noreferrer">console.table()</a> to autocomplete? </p>
  
  <p>Which library do I need to add to the .tern_project file?</p>
  
  <p>Also, I am open to suggestions for better web development environments.</p>