Have problem with multi-line string in javascript
<p>This works:</p>

<pre><code>alert('foo\
         bar'
)
</code></pre>

<p>But this is causing syntax error:</p>

<pre><code>t='test';
alert('&lt;tr&gt;&lt;td&gt;&lt;b&gt;' + t + '&lt;/b&gt;&lt;/td&gt;\ 
                    &lt;td&gt;&lt;/td&gt;&lt;td&gt;')
</code></pre>

<p>error is:</p>

<pre><code>SyntaxError: unterminated string literal
</code></pre>

<p>They two should be the same thing, why the first one works, while the second fails?</p>
