New to JS, want to display strings
<p>Say I have JSON object with data like this (in a separate .json file):</p>

<pre><code>evidenceStrings = [
{"jokeid": 0, "evidence": ["\My God you're right! I never would've thought of that!", "this look that says \My God you're right! I never would've thought of that!\", " \My God you're right! I never would've thought of that!\"]},
{"jokeid": 1, "evidence": ["the man didn't have to watch"]},
{"jokeid": 2, "evidence": ["knocking down trees with your face", "knocking down trees with your face. ", " knocking down trees with your face. ", "with your face.", "knocking down trees with your face"]}
]
</code></pre>

<p>I want to display the "evidence" in an HTML file. The problem is that I'm reading content from another .js file and displaying it's content using a for loop.</p>

<pre><code>for(var i = 0; i &lt; jokes.length; i++) {
    // display string at index 0 of an array in a .js file
</code></pre>

<p><code>i</code> here refers to the <code>jokeid</code> in the JSON object. Now what I want is, that for the given <code>i</code>, extract my <code>evidence</code> from the JSON object, and display it (preferably with a newline after every string.</p>
