js 字符串数组的获得办法

1、文本输入框输入 ["init"] (字符串数组)

2、js代码


var t_tmp_args = new Array();
        t_tmp_args=t_args.replace(/([)|(])/g,"");
        t_tmp_args=t_tmp_args.split(",");
原文地址:https://www.cnblogs.com/hzcya1995/p/13313591.html