📜  在字符串javascript代码示例中爆炸数组

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

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