Basic JS Q after "validation" with JSLint
<p>I just ran one script through <a href="http://www.jslint.com/" rel="nofollow">JSlint</a> and received tons of errors - all related to the example below. Now I need to clear some basics, as I'm honestly pretty new to JS and don't know if those are "critical" Errors, Warnings or notices.</p>

<pre><code>var whatEver = {
    foo:         null,
    fooArray:    [],
    // This tells me that the curly bracket was expected much earlier
    barArray:
    {
         whatever:    'somestring'
        ,keyTwo:      'anotherstring'
    },
    // Here I get told that I got "wrong" white spaces
    bar:         document.getElementById( 'someID' )
};
</code></pre>

<p>I know most of this is "basic" js stuff and so far everything's working fine. I just want to know if I'm making basic mistakes.</p>

<p>Thanks.</p>
