How to convert this string into an array

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?

Dec.09,2021

this is from php var_dump. Encode it with php's json_encode before trying dump and then output it, and your requirements will be gone.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e94e04-472e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e94e04-472e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?