title: How to convert array to object then assign to new variable
body: <p>I want to convert data stored in one variable from an array to an object, then assign that converted data to another variable.</p>
  
  <p>For example, take:</p>
  
  <pre><code>options = ["226:39"];
  </code></pre>
  
  <p>and convert <code>["226:39"]</code> to <code>{"226":"39"}</code>, then assign the converted data to the <code>convertedOptions</code> variable.</p>
  
  <p>How would I do that?</p>