making html with array join
by Joseph Tate
HTML
<p id="log">
</p>
JavaScript
var test = ['<p>stuff</p>', '<p>more stuff</p>'].join('');
document.getElementById('log').innerHTML = test;
by Joseph Tate
<p id="log">
</p>
var test = ['<p>stuff</p>', '<p>more stuff</p>'].join('');
document.getElementById('log').innerHTML = test;