title: How can I convert this string into a multidimensional JavaScript array
body: <p>I have a function which receives a string parameter, I need to convert this into an array. For example:</p>
  
  <pre><code>var param = "['Presidente', '', ''], ['Gerente de Operaciones', 'Presidente', ''], ['Gerente de Ventas', 'Presidente', '']";
  
  function myFunc(data){
    // DoSomethingHere
  }
  
  myFunc(param);
  </code></pre>
  
  <p>I need to convert data into an array, in this case it would have 3 positions. I tried doing Split() but didn't get very far.</p>