title: String to object in JS
body: <p>I have a string as </p>
  
  <pre><code>string = "firstName:name1, lastName:last1"; 
  </code></pre>
  
  <p>now I need one object obj such that </p>
  
  <pre><code>obj = {firstName:name1, lastName:last1}
  </code></pre>
  
  <p>How can I do this in JS?</p>