js中有["1","2","3","4"]这样一个string,怎么把它变成array通过eval()把字符串转换成array.代码:<script>var str = '["1","2","3","4"]&2023-05-01JavaScript1590