how do I use js to convert the following strings into arrays?
has a string with the following shape
array(1) {
[0]=>
array(4) {
["id"]=>
string(2) "30"
[0]=>
string(2) "30"
["date"]=>
string(10) "2018-10-14"
[1]=>
string(10) "2018-10-14"
}
}
excuse me, how do I convert this string into an array?