[jQuery] String to Array

[jQuery] String to Array


Hi,
Is it possible to convert a string into array Like this
var x = '[1,2,3],[1,2],["a"],[[1],["asw"]]';
This is equal to
var x = [1,2,3],[1,2],["a"],[[1],["asw"]];
Thanks & Regards,
Pronojit Roy