Javascript Loop through Object Literal
<p>I would like to iterate over the below and output a string that combines the different settings:</p>

<p>Loop through this:</p>

<pre><code>config : {

   settings : {
     width: 880,
     height: 495,
     byline: false,
     title: false,
     portrait: false
    }
}
</code></pre>

<p>And output:</p>

<pre><code>var output = '&amp;height=495&amp;width=880&amp;title=false&amp;byline=false&amp;portrait=false',
</code></pre>

<p>How would I go about this?</p>
