📜  从外部数组 javascript 代码示例中删除字符串

📅  最后修改于: 2022-03-11 15:01:35.960000             🧑  作者: Mango

代码示例1
var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]