Why does this JSON.parse return error: "unexpected token illegal"?
<p>I'm using an AJAX request. This is the first time I'm using JSON or any of it's methods. The ajax utility returns an argument to the onreadystatechange callback as the responseText or responseXML of the file I'm requesting. Using a simple <code>info.txt</code> and <code>request.responseText</code> will work fine but when I try <code>info.js</code> and <code>JSON.parse</code> it returns "Unexpected token ILLEGAL" when I've checked multiple times that my syntax is correct. Here is the JSON:</p>

<p>JSON:</p>

<pre><code>{
    first: 1,
    second: 2
}
</code></pre>
