title: Why do I see javascript arrays getting created with string.split()?
body: <p>I see code like this all over the web</p>
  
  <pre><code>var days= "Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" ");
  </code></pre>
  
  <p>Why do that instead of</p>
  
  <pre><code>var days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
  </code></pre>
  
  <p>I don't think laziness or ignorance has anything to do with it.  This is out of jQuery 1.4.2</p>
  
  <pre><code>props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" ")
  </code></pre>
  
  <p>They do it all over the place.</p>