title: JavaScript innerHTML with substring
body: <p>trying to put several strings inside a parenthesis. Why doesn't this work with substring? Getting the error "Invalid left-hand side in assignment".</p>
  
  <pre><code>&lt;div id="p1"&gt;&lt;/div&gt;
  
  document.getElementById("p1");
  var item1 = "item1";
  var item2 = "item2";
  var item3 = "item3"
  
  p1.innerHTML="( )";
  
  p1.innerHTML.substring(1,1) = item1 + item2 + item3;
  </code></pre>
  
  <p>Result should be: (item1item2item3). What's the best approach to achive this? </p>
  
  <p>jsfiddle: <a href="https://jsfiddle.net/qua1ity/w457hq6n/1/" rel="nofollow">https://jsfiddle.net/qua1ity/w457hq6n/1/</a></p>
  
  <p>Thanks!</p>