I feel stupid for asking this question. I have a 2D array in a string like this:
var data = "[['a', 'b', 'c'],['d', 'e', 'f'],['x', 'y', 'z']]";
and I'm trying to convert it to
var dimensional_array = [['a', 'b', 'c'],['d', 'e', 'f'],['x', 'y', 'z']];
Any help would be appreciated. Thank you all!