title: Concatenated Domain Name in JavaScript
body: <p>I've taken over the development of a project and have noticed a weird snippet in the JavaScript where the developer wrote the following:</p>
  
  <pre><code>/* ... code */
  
  var el = document.getElementById('foo');
  
  el.href = "http://" + "w" + "w" + "w" + "." + "d" + "o" + "main.com/foobar/";
  
  /* ... code */
  </code></pre>
  
  <p>I have some hunches as to what the purpose is, but will refrain from expressing it so as to not misguide, probably better, answers ...</p>
  
  <p><em><strong>What is the purpose of concatenating the domain?</em></strong></p>